Snippets

.htaccess file caching

paste in your .htaccess file.

<IfModule mod_headers.c>
<FilesMatch ".(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf|eot|woff|otf|ttf|svg)$">
Header set Cache-Control "max-age=290304000, public"
</FilesMatch>
</IfModule>

Source: http://snipplr.com/view/64719/htaccess-caching/...

Share this snippet