I have these lines in my global.asax (mainly because Can I add my caching lines to global.asax? )
Now I want to understand if this code is purely adding HTTP headers to the page, or does it also .Net cache this page on the server for 300 seconds?
Response.Cache.SetExpires(DateTime.Now.AddSeconds(300));
Response.Cache.SetCacheability(HttpCacheability.Public);
source
share