Posted By

iTony on 09/24/08


Tagged

apache module gzip zip


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

xuanyan
MicronXD


gzip files in apache


 / Published in: Apache
 

URL: http://www.thewebsqueeze.com/articles/yslow-going-from-f-to-a.html/2/

it needs the module mod_deflate

  1. # Gzip all text-based files
  2. <FilesMatch "\.(php|html|css|js)$">
  3. SetOutputFilter DEFLATE
  4. </FilesMatch>

Report this snippet  

You need to login to post a comment.