Looking for a JavaEE Architect or Potential Tech Co-Founder?
Please don't hesitate to contact me.

How to setup gzip compression

Using php we can start gzip using the following code


ob_start("ob_gzhandler");


The code returns false if the browser does not support compression and the default ob_start is called.

This is one way of optimizing your website, specially those sites that load multiple images and files.
How to setup gzip compression How to setup gzip compression Reviewed by czetsuya on Sunday, July 19, 2009 Rating: 5

No comments:

Powered by Blogger.