If you want to cache images or anything, in your ASP.NET page, you can either use the following in the markup:
<%@ OutputCache Location="None" %>
or set the Cache property of the HttpResponse in your code-behind class:
Response.Cache.SetCacheability(HttpCacheability.No Cache);
<%@ OutputCache Location="None" %>
or set the Cache property of the HttpResponse in your code-behind class:
Response.Cache.SetCacheability(HttpCacheability.No Cache);
No comments:
Post a Comment