Club Cobra

Club Cobra (http://www.clubcobra.com/forums/)
-   Suggestions (http://www.clubcobra.com/forums/suggestions/)
-   -   Brent: Check this out (http://www.clubcobra.com/forums/suggestions/49175-brent-check-out.html)

Roscoe 01-13-2004 09:39 AM

Brent: Check this out
 
A Gzip Experiment

I found an interesting article by Scriptygoddess: Compressing Webpages for Fun and Profit. http://www.scriptygoddess.com/archives/003627.php

...What if I told you that you can third your content easily with no work on your part whatsoever? It sounds like a pitch I might get in a lovely unsolicited email. The secret lies in the fact that every major browser of the past 5 years supports transparently decompressing content on the fly.

The trick is to use some simple PHP code at the top of the page. This code compresses the content using gzip. But before sending the compressed content, it checks the header to make sure that the browser can uncompress it.

I made a copy of my main page that uses this technique. Please try it, and let me know (in the Comments) if you notice any speed difference. If so, I'll make the change to all of my pages. This technique seems to offer the best of both worlds: faster load times and reduced bandwidth. The difference, if any, will probably be most noticeable by dial-up users and those with slow connections.

Here's a site that lets you enter a URL, http://leknor.com/code/gziped.php and it will tell you if the document uses gzip encoded content. You'll find, for example, that Google and Slashdot use it.

Roscoe 01-13-2004 09:41 AM

OOPS, just checked and ClubCobra is gzipped! You're one step ahead......always.

Roscoe

computerworks 01-13-2004 09:54 AM

Caution......the leknor.com site spawns ad pop-ups and attempts to install malware.

Brent Mills 01-15-2004 10:45 PM

Yup, it's gzipped...Imagine if this thing wasn't! I mean it would be an even tougher download. Thanks for keeping your eye out for this stuff though.

trularin 01-16-2004 04:44 AM

computerworks

Thanks, I hate that junk. Thanks for the warning.

Art Burtt 01-16-2004 06:48 AM

Huh?


All times are GMT -7. The time now is 12:44 PM.

Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0
The representations expressed are the representations and opinions of the clubcobra.com forum members and do not necessarily reflect the opinions and viewpoints of the site owners, moderators, Shelby American, any other replica manufacturer, Ford Motor Company. This website has been planned and developed by clubcobra.com and its forum members and should not be construed as being endorsed by Ford Motor Company, or Shelby American or any other manufacturer unless expressly noted by that entity. "Cobra" and the Cobra logo are registered trademarks for Ford Motor Co., Inc. clubcobra.com forum members agree not to post any copyrighted material unless the copyrighted material is owned by you. Although we do not and cannot review the messages posted and are not responsible for the content of any of these messages, we reserve the right to delete any message for any reason whatsoever. You remain solely responsible for the content of your messages, and you agree to indemnify and hold us harmless with respect to any claim based upon transmission of your message(s). Thank you for visiting clubcobra.com. For full policy documentation refer to the following link: