From: bruce barker on 20 Jan 2010 20:44 no, it only disables it for the current response content. as every image is its own request/respone, the cache header set when the image is fetched. -- bruce (sqlwork.com) JimLad wrote: > Hi, > > We have a data based web app that basically must not cache any of the > pages as they contain real time data. > > I am currently using the following line in the page template on the > PreInit event: > Response.Cache.SetCacheability(HttpCacheability.NoCache) > > Will this prevent things like Jpegs and CSS stylesheets from being > cached as well? > > If so is there another way of doing this? > > Cheers, > > James
|
Pages: 1 Prev: Hotfix Next: Client found response content type of 'text/plain', but expected'text/xml' |