ETags using htaccess


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



Copy this code and paste it in your HTML
  1. FileETag MTime Size
  2. <ifmodule mod_expires.c>
  3. <filesmatch "\.(jpg|gif|png|css|js)$">
  4. ExpiresActive on
  5. ExpiresDefault "access plus 1 year"
  6. </filesmatch>
  7. </ifmodule>

URL: http://stuntsnippets.com/etags-htaccess/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.