Greenguy's Board


Go Back   Greenguy's Board > Programming & Scripting
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2007-01-29, 10:06 PM   #1
cd34
a.k.a. Sparky
 
cd34's Avatar
 
Join Date: Sep 2004
Location: West Palm Beach, FL, USA
Posts: 2,396
The problem with doing it with php is twofold. One, it doesn't easily support chunked output. Secondly, it adds some buffering to the page.

Lets say you have a page that consists of 100k of HTML. With Apache's internal gzip/deflate, it grabs a chunk, compresses it, sends it, grabs another chunk, sends it, etc.

With php's gzip, it takes the entire page and sends it as one chunk. Remember, until the browser has the html, it doesn't know what external scripts, css, images, etc need to be rendered in the page. The result is that you can't even start rendering a page until the complete gzipped page is received. The net effect is a 2-3 wait, unzip, slam the html on the screen, then start fetching the images, css, etc.

It shouldn't affect search engine rankings. Google, et al all seem to have no problem with it.
__________________
SnapReplay.com a different way to share photos - iPhone & Android
cd34 is offline   Reply With Quote
Old 2007-01-29, 11:46 PM   #2
Useless
Certified Nice Person
 
Useless's Avatar
 
Join Date: Oct 2003
Location: Dirty Undies, NY
Posts: 11,268
Send a message via ICQ to Useless
That's why I had a multi-directional hyper-threading flux capacitor with counter-sunk grommet resurfacing installed on my server. Of course, my box runs Seneca, not Apache, so there may be 7-8 flourescent scan sequential embarkment.
__________________
Click here to purchase a bridge I'm selling.
Useless is offline   Reply With Quote
Reply


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

Forum Jump


All times are GMT -4. The time now is 05:25 PM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc