Member
Member
Laurent   2008-11-05, 23:31
#1

Hi all,

In the performance hack section i saw this :

SECOND: If your web server is supporting gzip compression, edit index.php and add following line at Top of the page. header("Vary: Accept-Encoding");if (substr_count($_SERVER['HTTP_ACCEPT_ENCODING'], ‘gzip’)) ob_start(”ob_gzhandler”); else ob_start();
But wicth index.php is it. The root index.php file or the index.php file in theme directory.
I put in the root at this time, but i don't really see something different.

Regards

Member
Member
Laurent   2008-11-15, 23:07
#2

Hi,

no body for a answer ?
Thanks

Laurent

Member
Member
jsumners   2008-11-16, 08:10
#3

It would be the root index.php. That is the script that processes everything.

Member
Member
Laurent   2008-11-16, 17:57
#4

Thanks is what i do.

Regards
Laurent

Member
Member
gwmbox   2010-12-15, 09:01
#5

Is the code above to gzip your zenphoto/zenpage site still current or is there a better way?

Cheers

GW

Administrator
Administrator
acrylian   2010-12-15, 11:19
#6

I can't answer, I never tried this.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.