Skip to content

Instantly share code, notes, and snippets.

@Munter
Created April 18, 2012 11:43
Show Gist options
  • Save Munter/2413043 to your computer and use it in GitHub Desktop.
Save Munter/2413043 to your computer and use it in GitHub Desktop.
Apache .htaccess file to make all files in a directory be served with a far future expires header
ExpiresActive On\n
ExpiresDefault "access plus 1 year"
FileETag none
Header append Cache-Control "public"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment