NYCPHP Meetup

NYPHP.org

[nycphp-talk] Compress interface pages using gzip compression

John Campbell jcampbell1 at gmail.com
Mon Aug 11 21:12:25 EDT 2008


On Mon, Aug 11, 2008 at 8:55 PM, pyurt <pyurt at yahoo.com> wrote:
> Is there a simple way to compress my interface pages using gzip compression.
>

add the following to an .htaccess at the lowest level in the document root:

AddOutputFilterByType DEFLATE text/html text/plain text/xml

see http://httpd.apache.org/docs/2.0/mod/mod_deflate.html for more details.

Regards,
John Campbell



More information about the talk mailing list