again thanks for quick reply... just now in my desperation and hit and trial was able to get to this point..
Added this code in libs/html.php at the top:
<?php if (substr_count($_SERVER['HTTP_ACCEPT_ENCODING'], 'gzip')) ob_start("ob_gzhandler"); else ob_start(); ?>
Now using these two services :
1.whatsmyip.org/http_compression/
2.gidnetwork.com/tools/gzip-test.php
i am getting that i have successfully gzipped all my pages
however using pingdom tool i have checked with and without this code and the difference between the load time for a gzipped page and non gzipped page is almost zero.
Am i doing something wrong?
Do the changes necessarily have to be in .
htaccess?
Please guide how can this thing be properly done giving a good compression and low load time.
Thanks for your time.