Club Cobra Keith Craft Motorsports  

Go Back   Club Cobra > General Discussion > Suggestions

Keith Craft Racing
Nevada Classics
MMG Superformance
Main Menu
Module Jump:
Nevada Classics
Nevada Classics
MMG Superformance
Advertise at CC
Banner Ad Rates
Keith Craft Racing
MMG Superformance
MMG Superformance
MMG Superformance
March 2024
S M T W T F S
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31            
  #1 (permalink)  
Old 01-13-2004, 09:39 AM
Roscoe's Avatar
CC Member
Visit my Photo Gallery

 
Join Date: Mar 2000
Location: Fairfield, NJ, USA, NJ
Cobra Make, Engine: A & C, 351W, Tremec 3550. Exiled Member: Club Cranky
Posts: 5,897
Send a message via ICQ to Roscoe
Not Ranked     
Default 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
"Crisis occurs when women and cattle get excited!"....James Thurber
Reply With Quote
  #2 (permalink)  
Old 01-13-2004, 09:41 AM
Roscoe's Avatar
CC Member
Visit my Photo Gallery

 
Join Date: Mar 2000
Location: Fairfield, NJ, USA, NJ
Cobra Make, Engine: A & C, 351W, Tremec 3550. Exiled Member: Club Cranky
Posts: 5,897
Send a message via ICQ to Roscoe
Not Ranked     
Default

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

Roscoe
__________________
Roscoe
"Crisis occurs when women and cattle get excited!"....James Thurber
Reply With Quote
  #3 (permalink)  
Old 01-13-2004, 09:54 AM
computerworks's Avatar
Senior Club Cobra Member
Visit my Photo Gallery
Lifetime Contributor
 
Join Date: Mar 2001
Location: Northport, NY
Cobra Make, Engine: Kirkham, KMP178 / '66 GT350H, 4-speed
Posts: 10,362
Not Ranked     
Default

Caution......the leknor.com site spawns ad pop-ups and attempts to install malware.
Reply With Quote
  #4 (permalink)  
Old 01-15-2004, 10:45 PM
Brent Mills's Avatar
Administrator
Visit my Photo Gallery

 
Join Date: Jan 1999
Location: Duvall, Wa
Cobra Make, Engine: KMP286, Shelby 482, Webers, 593HP
Posts: 4,161
Send a message via Yahoo to Brent Mills
Not Ranked     
Default

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.
Reply With Quote
  #5 (permalink)  
Old 01-16-2004, 04:44 AM
trularin's Avatar
Member of the north
Visit my Photo Gallery

 
Join Date: May 2003
Cobra Make, Engine: A Cobra
Posts: 11,207
Not Ranked     
Default

computerworks

Thanks, I hate that junk. Thanks for the warning.
__________________
I'm a writer, feed the artist and buy a book.
Reply With Quote
  #6 (permalink)  
Old 01-16-2004, 06:48 AM
CC Member
Visit my Photo Gallery

 
Join Date: Nov 2002
Location: Flanders, NJ
Cobra Make, Engine: Classic Roadsters 351 Windsor 405 HP
Posts: 1,043
Not Ranked     
Default

Huh?
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 11:49 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: CC Policy
Links monetized by VigLink