Optimize your pages!

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • X37375787
    • Jul 2026

    #1

    Optimize your pages!

    replace all " " (double spaces) with nothing and you will save yourself almost 25% in filesize.

    I just did it on hundreds of files and each went from ~20kB to ~14kB.

  • riosluts
    Confirmed User
    • Sep 2003
    • 5250

    #2
    u mean replace " " two spaces, right?

    Comment

    • X37375787

      #3
      Originally posted by riosluts
      u mean replace " " two spaces, right?
      _ _ double spaces, duh. Can't really show it well, can I?

      Replacing single spaces would fuck up your code majorly.

      Comment

      • jimmyf
        OU812
        • Feb 2001
        • 12651

        #4
        i know for some reason java puts spaces in your pages, and he's correct they make pages a lot larger.
        Epic CashEpic Cash works for me
        Solar Cash Paysite Plugin
        Gallery of the day freesites,POTD,Gallery generator with free hosting

        Comment

        • NoCarrier
          We need more free porn
          • Mar 2002
          • 16356

          #5
          Originally posted by Equinox
          replace all " " (double spaces) with nothing and you will save yourself almost 25% in filesize.

          I just did it on hundreds of files and each went from ~20kB to ~14kB.

          Something I have to do. I've always used "

          Comment

          • JSA Matt
            So Fucking Banned
            • Aug 2003
            • 5464

            #6
            Been doing this for years... since I parse templates with PHP I always use an str_replace on tabs before the echo

            Comment

            • X37375787

              #7
              Originally posted by JSA Matt
              Been doing this for years... since I parse templates with PHP I always use an str_replace on tabs before the echo

              Just use UltraEdit if you're not a programmer and do a "quick" F&R across a folder. It may take a while, but both your bandwidth and your surfers will thank you for it.

              Comment

              • X37375787

                #8
                Originally posted by jimmyf
                i know for some reason java puts spaces in your pages, and he's correct they make pages a lot larger.

                Most intentation is done with spaces. They take up a lot of file size. Once you're done with your HTML and no longer need indentation for an easy read, just replace all the double spaces with nothing and voila... the code will still be functional, but harder to read.

                Comment

                • Fletch XXX
                  GFY HALL OF FAME DAMMIT!!!
                  • Jan 2002
                  • 60840

                  #9
                  "looking out for you"

                  *snap*

                  cheers EQ.


                  Want an Android App for your tube, membership, or free site?

                  Need banners or promo material? Hit us up (ICQ Fletch: 148841377) or email me fletchxxx at gmail.com - recent work - About me

                  Comment

                  • X37375787

                    #10
                    Originally posted by Fletch XXX
                    "looking out for you"

                    *snap*

                    cheers EQ.


                    Doing my job.

                    Cheers nig

                    Comment

                    • JSA Matt
                      So Fucking Banned
                      • Aug 2003
                      • 5464

                      #11
                      Originally posted by Equinox
                      Just use UltraEdit if you're not a programmer and do a "quick" F&R across a folder. It may take a while, but both your bandwidth and your surfers will thank you for it.
                      Well I have a problem with messy code. I can't stand it. So all my code will be perfect for me, but minimal for the surfer

                      Comment

                      • The Bootyologist
                        So Fucking Banned
                        • Jun 2004
                        • 2912

                        #12

                        Comment

                        • X37375787

                          #13
                          it works with tabs, too.

                          Comment

                          • Diligent
                            Confirmed User
                            • Aug 2003
                            • 1594

                            #14
                            Originally posted by Equinox
                            it works with tabs, too.
                            What he said.

                            I have the rewarding habit of using them whenever manually indenting


                            Edit: Geez, I've been bumping cold threads lately - better speed up
                            Last edited by Diligent; 07-27-2004, 12:35 AM.
                            ~¤~ MORE MONEY ~¤~ VOD? XoD! ~¤~
                            ~¤~ ICQ# 9828 2461 ~¤~

                            Comment

                            • X37375787

                              #15
                              bump

                              Comment

                              • arachnO
                                Confirmed User
                                • Jan 2004
                                • 1327

                                #16
                                I'll try it with my PHP templates . Will see results...
                                All news from Adult Industry: new sites, new galleries, updated sites, PPS days and much more!
                                TrafficHolder.com - Buy/Sell Adult Traffic

                                Comment

                                • Theo
                                  HAL 9000
                                  • May 2001
                                  • 34515

                                  #17
                                  itworkedgreatformedudethankyouverymuch

                                  Comment

                                  • X37375787

                                    #18
                                    Originally posted by Soul_Rebel
                                    itworkedgreatformedudethankyouverymuch

                                    youremorethanwelcomemynegrobrother

                                    Comment

                                    • arachnO
                                      Confirmed User
                                      • Jan 2004
                                      • 1327

                                      #19
                                      Originally posted by Soul_Rebel
                                      itworkedgreatformedudethankyouverymuch
                                      hehehehehe
                                      All news from Adult Industry: new sites, new galleries, updated sites, PPS days and much more!
                                      TrafficHolder.com - Buy/Sell Adult Traffic

                                      Comment

                                      • Lane
                                        Will code for food...
                                        • Apr 2001
                                        • 8496

                                        #20
                                        or use mod_gzip and save 80% bandwidth on html, and you dont need to turn your html code unreadable

                                        Comment

                                        • The Bootyologist
                                          So Fucking Banned
                                          • Jun 2004
                                          • 2912

                                          #21

                                          Comment

                                          • pelcito
                                            Confirmed User
                                            • Jul 2004
                                            • 404

                                            #22
                                            I never think on this, but is true

                                            Anyway, another way for optimize the load of the pages is installing GZip mode into the server. The server will give you the HTML pages up to 5 or 6 times more faster than normal.
                                            Monetize your Mobile Traffic like never before.
                                            Buying/Selling CPM/CPC High-Quality Geo Adult Traffic.

                                            Meet the New SPACash Advertising Network
                                            http://www.spacash.com
                                            [email protected]

                                            Comment

                                            • Calvinguy
                                              Confirmed User
                                              • Oct 2002
                                              • 1752

                                              #23
                                              If you use php use the ob_gzhandler and save a lot. Much better than editing your pages manually

                                              Comment

                                              • Broda
                                                Confirmed User
                                                • Feb 2003
                                                • 1874

                                                #24
                                                Originally posted by Lane
                                                or use mod_gzip and save 80% bandwidth on html, and you dont need to turn your html code unreadable
                                                I was just about to post that exact same answer
                                                CheapAssDesigns.com - when you need quality designs at affordable prices.
                                                icq: 230-729-205
                                                info |at| cheap ass designs dot com

                                                Comment

                                                Working...