Created
December 2, 2009 18:16
-
-
Save stephanschubert/247407 to your computer and use it in GitHub Desktop.
Apply a cachebuster to your static assets before using this Apache configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<FilesMatch "\.(pdf|flv|jpg|jpeg|png|gif|js|css|swf)$"> | |
Header set Cache-Control "public" | |
ExpiresActive On | |
ExpiresDefault "access plus 10 years" | |
FileETag None | |
Header unset Last-Modified | |
Header unset ETag | |
</FilesMatch> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment