Last active
February 8, 2024 13:01
-
-
Save twentyfortysix/cfc749ba8507b32aabc379e40f43b5cf to your computer and use it in GitHub Desktop.
header revalidation
This file contains hidden or 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
## EXPIRES HEADER CACHING ## | |
<IfModule mod_expires.c> | |
ExpiresActive On | |
ExpiresDefault "access plus 1 month" | |
</IfModule> | |
<IfModule mod_headers.c> | |
Header set Cache-Control "max-age=0, no-cache, must-revalidate" | |
</IfModule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment