Gets or sets a value indicating whether the cache memory collection is disabled.
Assembly: System.Web (in System.Web.dll)
If theproperty is set to true, calls to the cache-related API will have no effect.
If theproperty is set to true, the cache does not attempt to collect unused items. Use caution when using this setting, as disabling memory collection can quickly lead to Out of Memory conditions for the application.
This setting has no effect on the ASP.NET internal cache or on the output cache. For more information about the different types of cache, see ASP.NET Caching.
Available since 2.0