J
jack
Now here i have a doubt
the explorer maintains the cache for 300 seconds when the code is in
html code like the one which is below :-
<%@ OutputCache Duration="300" VaryByParam="none" %>
But the same code when typed in the cs file of the page does not gives
the same result.
Response.Cache.SetExpires(DateTime.Now.AddSeconds(60));
Response.Cache.SetCacheability(HttpCacheability.Private);
Im not able to guess as to you the page is not been cached for 300
seconds
the explorer maintains the cache for 300 seconds when the code is in
html code like the one which is below :-
<%@ OutputCache Duration="300" VaryByParam="none" %>
But the same code when typed in the cs file of the page does not gives
the same result.
Response.Cache.SetExpires(DateTime.Now.AddSeconds(60));
Response.Cache.SetCacheability(HttpCacheability.Private);
Im not able to guess as to you the page is not been cached for 300
seconds