Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<ifmodule mod_deflate.c>
<filesmatch ".(js|json|css|ico|txt|htm|html|php)$">
SetOutputFilter DEFLATE
</filesmatch>
</ifmodule>
FileETag MTime Size
<ifmodule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 366 days"
</ifmodule>
<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"
</filesmatch>
</ifmodule>
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.