Skip to content

Instantly share code, notes, and snippets.

@SurinderBhomra
Last active June 16, 2020 09:30
Show Gist options
  • Save SurinderBhomra/c3d767da0a33717608ae4ac6449c5971 to your computer and use it in GitHub Desktop.
Save SurinderBhomra/c3d767da0a33717608ae4ac6449c5971 to your computer and use it in GitHub Desktop.
Cache Busting Kentico - Cache-Control Custom Header - Web.config
<!-- 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