Posted By

depiction on 04/25/12


Tagged

htaccess


Versions (?)

htaccess Caching


 / Published in: Apache
 

Cache files via htacess

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

Report this snippet  

You need to login to post a comment.