Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar Mark Forums Read
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 07-26-2004, 09:05 PM   #1
X37375787
Guest
 
Posts: n/a
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.

  Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-26-2004, 09:06 PM   #2
riosluts
Confirmed User
 
Join Date: Sep 2003
Posts: 5,250
u mean replace " " two spaces, right?
__________________

riosluts is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-26-2004, 09:07 PM   #3
X37375787
Guest
 
Posts: n/a
Quote:
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.
  Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-26-2004, 09:08 PM   #4
jimmyf
OU812
 
Join Date: Feb 2001
Location: California
Posts: 12,651
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
jimmyf is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-26-2004, 09:08 PM   #5
NoCarrier
We need more free porn
 
Join Date: Mar 2002
Location: Montreal
Posts: 16,356
Quote:
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 "
__________________
NoCarrier is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-26-2004, 09:09 PM   #6
JSA Matt
So Fucking Banned
 
Join Date: Aug 2003
Location: San Diego, CA
Posts: 5,464
Been doing this for years... since I parse templates with PHP I always use an str_replace on tabs before the echo
JSA Matt is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-26-2004, 09:12 PM   #7
X37375787
Guest
 
Posts: n/a
Quote:
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.
  Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-26-2004, 09:14 PM   #8
X37375787
Guest
 
Posts: n/a
Quote:
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.
  Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-26-2004, 09:15 PM   #9
Fletch XXX
GFY HALL OF FAME DAMMIT!!!
 
Fletch XXX's Avatar
 
Join Date: Jan 2002
Location: that 504
Posts: 60,840
"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
Fletch XXX is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-26-2004, 09:19 PM   #10
X37375787
Guest
 
Posts: n/a
Quote:
Originally posted by Fletch XXX
"looking out for you"

*snap*

cheers EQ.


Doing my job.

Cheers nig
  Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-26-2004, 09:34 PM   #11
JSA Matt
So Fucking Banned
 
Join Date: Aug 2003
Location: San Diego, CA
Posts: 5,464
Quote:
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
JSA Matt is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-26-2004, 09:35 PM   #12
The Bootyologist
So Fucking Banned
 
Join Date: Jun 2004
Location: m00dville
Posts: 2,912
The Bootyologist is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-26-2004, 10:03 PM   #13
X37375787
Guest
 
Posts: n/a
it works with tabs, too.
  Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-27-2004, 01:32 AM   #14
Diligent
Confirmed User
 
Diligent's Avatar
 
Join Date: Aug 2003
Location: Hoy Suecia, mañana Nirvana
Posts: 1,594
Quote:
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
__________________
~¤~ MORE MONEY ~¤~ VOD? XoD! ~¤~
~¤~ ICQ# 9828 2461 ~¤~


Last edited by Just-Anotha-Mack; 07-27-2004 at 01:35 AM..
Diligent is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-27-2004, 08:37 AM   #15
X37375787
Guest
 
Posts: n/a
bump
  Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-27-2004, 08:54 AM   #16
arachnO
Confirmed User
 
arachnO's Avatar
 
Industry Role:
Join Date: Jan 2004
Location: Cyprus
Posts: 1,327
I'll try it with my PHP templates . Will see results...
arachnO is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-27-2004, 08:55 AM   #17
Theo
HAL 9000
 
Industry Role:
Join Date: May 2001
Posts: 34,515
itworkedgreatformedudethankyouverymuch
Theo is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-27-2004, 09:01 AM   #18
X37375787
Guest
 
Posts: n/a
Quote:
Originally posted by Soul_Rebel
itworkedgreatformedudethankyouverymuch

youremorethanwelcomemynegrobrother
  Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-27-2004, 09:11 AM   #19
arachnO
Confirmed User
 
arachnO's Avatar
 
Industry Role:
Join Date: Jan 2004
Location: Cyprus
Posts: 1,327
Quote:
Originally posted by Soul_Rebel
itworkedgreatformedudethankyouverymuch
hehehehehe
arachnO is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-27-2004, 09:16 AM   #20
Lane
Will code for food...
 
Join Date: Apr 2001
Location: Buckeye, AZ
Posts: 8,496
or use mod_gzip and save 80% bandwidth on html, and you dont need to turn your html code unreadable
__________________
Lane is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-27-2004, 09:19 AM   #21
The Bootyologist
So Fucking Banned
 
Join Date: Jun 2004
Location: m00dville
Posts: 2,912
The Bootyologist is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-27-2004, 09:28 AM   #22
pelcito
Confirmed User
 
pelcito's Avatar
 
Industry Role:
Join Date: Jul 2004
Location: Manhattan, NY
Posts: 404
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]
pelcito is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-27-2004, 09:33 AM   #23
Calvinguy
Confirmed User
 
Join Date: Oct 2002
Location: European Union
Posts: 1,752
If you use php use the ob_gzhandler and save a lot. Much better than editing your pages manually
Calvinguy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-27-2004, 09:42 AM   #24
Broda
Confirmed User
 
Join Date: Feb 2003
Location: CheapAssDesigns.com
Posts: 1,874
Quote:
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
Broda is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks
Thread Tools



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.