Skip to content

Instantly share code, notes, and snippets.

@raamdev
Created March 4, 2014 00:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save raamdev/9337944 to your computer and use it in GitHub Desktop.
Save raamdev/9337944 to your computer and use it in GitHub Desktop.
FileETag none
<IfModule mod_headers.c>
Header unset etag
</IfModule>
<IfModule mod_expires.c>
ExpiresActive on
ExpiresByType text/plain "access plus 1 week"
ExpiresByType text/css "access plus 1 week"
ExpiresByType text/javascript "access plus 1 week"
ExpiresByType application/javascript "access plus 1 week"
ExpiresByType application/x-javascript "access plus 1 week"
ExpiresByType image/svg+xml "access plus 1 week"
ExpiresByType image/gif "access plus 1 week"
ExpiresByType image/png "access plus 1 week"
ExpiresByType image/ico "access plus 1 week"
ExpiresByType image/x-icon "access plus 1 week"
ExpiresByType image/jpg "access plus 1 week"
ExpiresByType image/jpe "access plus 1 week"
ExpiresByType image/jpeg "access plus 1 week"
ExpiresByType font/truetype "access plus 1 week"
ExpiresByType application/x-font-ttf "access plus 1 week"
ExpiresByType font/opentype "access plus 1 week"
ExpiresByType application/x-font-otf "access plus 1 week"
ExpiresByType application/font-woff "access plus 1 week"
ExpiresByType application/vnd.ms-fontobject "access plus 1 week"
ExpiresByType application/x-shockwave-flash "access plus 1 week"
ExpiresByType application/x-httpd-php-source "access plus 1 week"
</IfModule>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment