This documentation is archived and is not being maintained.

HttpResponse.AddCacheItemDependencies Method (String[])

Makes the validity of a cached item dependent on another item in the cache.

Namespace: System.Web
Assembly: System.Web (in system.web.dll)

public void AddCacheItemDependencies (
	string[] cacheKeys
public void AddCacheItemDependencies (
	String[] cacheKeys
public function AddCacheItemDependencies (
	cacheKeys : String[]
Not applicable.



An array of item keys that the cached response is dependent upon.

When any of the cacheKeys are removed from the cache, the cached response of the current item is invalid.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0