Is there a way clear or reset the outputcache for an entire website without a restart?
I\'m just starting to use outputcache on a site and when I make a mistake in s
Add the following code to controller or to page code:
HttpContext.Cache.Insert("Page", 1); Response.AddCacheItemDependency("Page");
To clear output cachne use the following command in controller:
HttpContext.Cache.Remove("Page");