Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup cache policy headers in .htaccess #7

Closed
fgeierst opened this issue Dec 26, 2020 · 0 comments
Closed

Setup cache policy headers in .htaccess #7

fgeierst opened this issue Dec 26, 2020 · 0 comments

Comments

@fgeierst
Copy link
Owner

# Cache Expiration 
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg "access plus 1 year"
ExpiresByType image/jpeg "access plus 1 year"
ExpiresByType image/gif "access plus 1 year"
ExpiresByType image/png "access plus 1 year"
ExpiresByType text/css "access plus 14 days"
ExpiresByType text/html "access plus 1 day"
ExpiresByType application/pdf "access plus 1 year"
ExpiresByType text/x-javascript "access plus 14 days"
ExpiresByType image/x-icon "access plus 1 year"
ExpiresDefault "access plus 1 month"
</IfModule>
@fgeierst fgeierst mentioned this issue Dec 26, 2020
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant