Skip to content

Instantly share code, notes, and snippets.

@colinfwren
Created April 11, 2012 20:30
Show Gist options
  • Save colinfwren/2362280 to your computer and use it in GitHub Desktop.
Save colinfwren/2362280 to your computer and use it in GitHub Desktop.
web.config to ensure no caching of files
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<outboundRules>
<rule name="Compression header">
<match serverVariable="RESPONSE_Cache-Control" pattern="(.*)" />
<action type="Rewrite" value="no-transform" />
</rule>
</outboundRules>
</rewrite>
</system.webServer>
</configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment