Created
August 7, 2013 03:41
-
-
Save happyrobots/6170999 to your computer and use it in GitHub Desktop.
Add max age to static contents in ASP.NET
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
<configuration> | |
<location path="Assets"> | |
<system.webServer> | |
<staticContent> | |
<clientCache cacheControlCustom="public" cacheControlMode="UseMaxAge" cacheControlMaxAge="30.00:00:00"/> | |
</staticContent> | |
</system.webServer> | |
</location> | |
</configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment