Skip to content

Instantly share code, notes, and snippets.

@joshknutson
Created April 22, 2010 17:17
Embed
What would you like to do?
cache web config IIS 7.5
<?xml version="1.0" encoding="UTF-8"?>
<configuration xmlns:xs="DotNetConfig.xsd" xmlns:vs="http://schemas.microsoft.com/.NetConfiguration/v2.0">
<system.webServer>
<urlCompression doStaticCompression="true" doDynamicCompression="false"/>
<staticContent>
<clientCache cacheControlMode="UseMaxAge" cacheControlMaxAge="30.00:00:00"/>
</staticContent>
</system.webServer>
</configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment