Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Set caching on image files for 11 months
- <filesMatch "\.(ico|gif|jpg|png|svg)$">
- ExpiresActive On
- ExpiresDefault "access plus 11 month"
- Header append Cache-Control "public"
- </filesMatch>
- <filesMatch "\.(css|js)$">
- ExpiresActive On
- ExpiresDefault "access plus 1 week"
- Header append Cache-Control "public"
- </filesMatch>
Add Comment
Please, Sign In to add comment