HttpResponse.AddCacheItemDependencies Method (ArrayList)
Makes the validity of a cached response dependent on other items in the cache.
Assembly: System.Web (in System.Web.dll)
When the items referred to in the cacheKeys parameter are removed from the cache, the cached response of the current item is not valid.
The following example demonstrates how to use an ASP.NET page that is output cached. The code for the page creates an ArrayList object of keys that are associated with items that are stored in the Cache object. Next, the code passes the ArrayList as the parameter in a call to the method. This makes the output cached response not valid, if any of the files specified in the ArrayList change.
Available since 1.1