Skip to content

Instantly share code, notes, and snippets.

@hereswhatidid
Created September 18, 2012 15:50
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 hereswhatidid/3743862 to your computer and use it in GitHub Desktop.
Save hereswhatidid/3743862 to your computer and use it in GitHub Desktop.
IIS config file for setting cache header expiration
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<staticContent>
<clientCache cacheControlMode="UseMaxAge" cacheControlMaxAge="14.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