JimLad wrote:
> 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?
In IIS, you can set content to expire immediately, e.g. for IIS 6.0:
http://www.microsoft.com/technet/pro....mspx?mfr=true
Andrew