Skip to content

Commit

Permalink
updated defaults of mod_expires.c
Browse files Browse the repository at this point in the history
  • Loading branch information
phgamper committed Feb 27, 2016
1 parent e124e53 commit 4dce6cb
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions public/.htaccess
Expand Up @@ -7,11 +7,19 @@
</IfModule>

<IfModule mod_expires.c>
ExpiresActive On

ExpiresByType image/gif "access plus 1 month"
ExpiresByType image/jpg "access plus 1 month"
ExpiresByType image/jpeg "access plus 1 month"
ExpiresByType image/png "access plus 1 month"
ExpiresByType text/javascript "access plus 1 week"

ExpiresByType text/html "access plus 1 hour"
ExpiresByType text/css "access plus 1 week"
ExpiresByType application/pdf "access pluss 1 week"
ExpiresDefault "access plus 1 hour"
ExpiresByType text/javascript "access plus 1 week"
ExpiresByType application/x-javascript "access plus 1 week"
ExpiresByType application/javascript "access plus 1 week"
ExpiresByType application/pdf "access plus 1 week"

ExpiresDefault "access plus 1 month"
</IfModule>

0 comments on commit 4dce6cb

Please sign in to comment.