Page is a not externally linkable
- Google
-- Google SEO News and Discussion
---- 'Speed of Site' May Become Ranking Factor in 2010


Hissingsid - 9:18 am on Dec 8, 2009 (gmt 0)


I had a problem enabling gzip compression on one of my sites because the server does not have mod_gzip or mod_deflate on it. I put this in the top of each php page instead:

<?php if (substr_count($_SERVER['HTTP_ACCEPT_ENCODING'], 'gzip')) ob_start("ob_gzhandler"); else ob_start(); ?>

This checks to see if the browser can deal with gzip and if it can it sends it compressed data otherwise it sends uncompressed. I tested it with GIDZipTest (just Bing for it) and it shows a 60% saving.

Cheers

Sid

PS Forgot to say you can prepend this to each file in your htaccess file I'm just playing with this on one site to check for possible problems.


Thread source:: http://www.webmasterworld.com/google/4024762.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com