How can I turn off output cache via web.debug.config in asp.net mvc 4 app? I try to do it:
web.debug.config
<caching>
<outputCache enableOutputCache="false" />
</caching>
Why doesn't it work?
The web.config.debug
file is used only when you build a deployment package . If you run your site locally in Cassini for example it is completely ignored. So you may try disabling cache in your web.config
:
<system.web>
<caching>
<outputCache enableOutputCache="false" />
</caching>
</system.web>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With