We have an ASP.net (2.0) application configured to run with multiple worker processes using the web garden option in IIS. Most of our data is cached and occasionally we have to clear the cache when there are changes to the site. We have a simple page that will iterate through the HttpCache items and clear them.
But each worker process has its own copy of the HttpCache object and so when we request for the cache refresh page, it only clears the cache for the process which services that particular request. The cache for the other worker processes are not cleared.
Is there a way to clear the HttpCache for all the worker processes other than programmatically recycling the app pool?