gzip files in apache

/ Published in: Apache
Save to your folder(s)

it needs the module mod_deflate

Copy this code and paste it in your HTML
  1. # Gzip all text-based files
  2. <FilesMatch "\.(php|html|css|js)$">
  3. SetOutputFilter DEFLATE
  4. </FilesMatch>

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

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.