How to undo Response.Cache.SetNoStore()?
问题 I've a CMS application code which calls Response.Cache.SetNoStore() on all request and if i'm correct, this will be prevents proxies/cdn to cache those pages/content. Therefore, i'm conditionally calling the below code: Response.Cache.SetCacheability(HttpCacheability.Public); Response.Cache.SetMaxAge(new TimeSpan(0, 30, 0)); Response.Cache.SetValidUntilExpires(true); But this doesn't take out the no-store param from the response header, this is the returned http header: Cache-Control:public,