Does an IIS Reset clear Memory Cache?
<p>I've recently setup some caching for multiple websites that uses <a href="https://msdn.microsoft.com/en-us/library/system.runtime.caching.memorycache(v=vs.110).aspx" rel="nofollow">MemoryCache</a>. The item I'm adding is a dataset and has an absolute expiry of 12 hours from the time it's added. What I want to know though, is there a way of clearing the cache manually, such as an IIS reset?</p>

<p>I couldn't find anything that categorically specified that memory cache would be cleared.</p>

<p>The reason behind this is that I need to test whether refreshed data in the database is picked up as expected if the cache is cleared. At the moment it doesn't seem to be clearing for all websites, which seems odd. So I need to figure out if this could be an issue with the app pools not restarting properly etc.</p>