RSS

Turning on Gzip Compression

Wed, Jun 10, 2009

Code, PHP

Gzipping files could be very useful when trying to speed up your website.

Though I do not have the whole .htaccess thing down yet. I have found some code that simply works. As always I post it for myself as well as anyone who needs it.


<IfModule mod_deflate.c>
<FilesMatch "\.(js|css)$">
SetOutputFilter DEFLATE
</FilesMatch>
</IfModule>

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • email
  • MySpace
  • Twitter
  • Yahoo! Buzz
  • PDF
  • Reddit
  • Slashdot
  • Technorati
,

1 Comments For This Post

  1. markez linda Says:

    Can you provide more information on this?

Leave a Reply