SQL Server cache invalidation programmatically : Cache « Response « ASP.NET Tutorial






Dim myDependency As SqlCacheDependency = New SqlCacheDependency("Northwind", "Customers")
Response.AddCacheDependency(myDependency)
Response.Cache.SetValidUntilExpires(true)
Response.Cache.SetExpires(DateTime.Now.AddMinutes(60))
Response.Cache.SetCacheability(HttpCacheability.Public)








6.1.Cache
6.1.1.SQL Server cache invalidation programmatically
6.1.2.Using HTTP Headers to force the browser not to cache on the client-side (C#)
6.1.3.Using HTTP Headers to force the browser not to cache on the client-side (VB)