WebResources aren't cached when debug is set to true in your web.config

On the subject of the ASP.NET 2.0 web resources, something very useful to know is they aren’t cached when debug is set to true in your web.config.

My research suggests that regardless of this caching isn’t enabled at all on Cassini (aka the ASP.NET development server). It doesn’t seem to even cache static files and it doesn’t seem to matter whether debug is set to true or not. So don’t stress out if you’re testing caching in development and you can’t get it working.

Posted on 16 Mar 06 by Helen Emerson (last updated on 16 Mar 06).
Filed under ASP.NET, Server controls