Last active
June 16, 2020 09:30
-
-
Save SurinderBhomra/c3d767da0a33717608ae4ac6449c5971 to your computer and use it in GitHub Desktop.
Cache Busting Kentico - Cache-Control Custom Header - Web.config
This file contains 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
<!-- Cache resources directory BEGIN --> | |
<location path="resources"> | |
<system.webServer> | |
<httpProtocol> | |
<customHeaders> | |
<add name="Cache-Control" value="public, max-age=604800" /> | |
</customHeaders> | |
</httpProtocol> | |
</system.webServer> | |
</location> | |
<!-- Cache resources directory END --> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment