Created
August 12, 2021 17:54
-
-
Save jcefoli/ea3aae53dd4801069b8668c7c27a8905 to your computer and use it in GitHub Desktop.
Web Config to disable aggressive IIS caching for php development on Windows
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
<?xml version="1.0" encoding="UTF-8"?> | |
<configuration> | |
<system.webServer> | |
<urlCompression doStaticCompression="false" doDynamicCompression="false" /> | |
<caching> | |
<profiles> | |
<add extension=".html" policy="DisableCache" kernelCachePolicy="DisableCache" /> | |
<add extension=".php" policy="DisableCache" kernelCachePolicy="DisableCache" /> | |
<add extension=".txt" policy="DisableCache" kernelCachePolicy="DisableCache" /> | |
</profiles> | |
</caching> | |
</system.webServer> | |
</configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment