Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
<ifmodule mod_deflate.c>
<filesmatch ".(js|json|css|ico|txt|htm|html|php)$">
SetOutputFilter DEFLATE
FileETag MTime Size
<ifmodule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 366 days"
<ifmodule mod_headers.c>
<filesmatch ".(ico|pdf|json|flv|jpg|jpeg|png|gif|js|css|swf)$">
Header set Expires "Sat, 27 Dec 2014 23:59:59 GMT"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.