Saturday, July 13, 2013

Problem with Deflate or Gzip Compression

So you find out from some optimization or efficiency program like YSlow or PageSpeed that your website could benefit from gzip or deflate compression.  You search online and find code that you put into the .htaccess file in your host server's root directory.  Having followed the apparently simple directions you check to see if compression is actually working by using something like the GidZip Test to verify.  You find out the deflate or gzip compression is not working.

There are a number of possible reasons but perhaps the obvious one that may take time to dig up is that your webhosting service provider has not enabled the feature or does not allow it.  You may need to ask the webhost to activate it.  Some hosts like NearlyFreeSpeech, however, have a policy of not activating it for on the fly compression although static gzip pre-compression may be possible.

No comments:

Post a Comment