Skip to content

Instantly share code, notes, and snippets.

@joshknutson
Created April 22, 2010 17:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joshknutson/375503 to your computer and use it in GitHub Desktop.
Save joshknutson/375503 to your computer and use it in GitHub Desktop.
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