Gzipping Your Site
-
My shared server does not allow the
mod_gzip
ormod_deflate
option. So, the only way I can figure to gzip my pages are through PHP. I have added this line of code to theheader.php
file:<?php ob_start( 'ob_gzhandler' ); ?>
However, when I go to check websites for compression, it says my site is not compressed. Am I doing something wrong? Is there another way to compress (without sending through an alternate php file)?
- The topic ‘Gzipping Your Site’ is closed to new replies.