DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

Use Mod_gzip In Your PHP Files

05.21.2005
| 4993 views |
  • submit to reddit
        This single line allows you to use the mod_gzip Apache module (only if installed) to save bandwidth compressing the content to send.

<? ob_start("ob_gzhandler"); ?>