Set a custom header, which specifies "max-age".
Open the IIS Manager snap-in from Administrative Tools, pick an app,
right click, go to Properties, switch to the HTTP Headers tab, and click Add.
Add cache-control extensions like this:
In the "Custom Header Name", type : Cache-Control
In the Custom Header Value, type :
"Cache-Control:max-age=NumberOfSeconds"
OK your way out of the dialog...
I use :
"Cache-Control:max-age=1200"
....which will cache images for the default session timout ( 20 minutes ).
Juan T. Llibre, asp.net MVP
asp.net faq :
http://asp.net.do/faq/
foros de asp.net, en español :
http://asp.net.do/foros/
======================================
"Mike" <Mi**@discussions.microsoft.comwrote in message news:23**********************************@microsof t.com...
Hi. I'm building an ASP.NET 2.0 web-app for a customer. The customer wants
a background image that's 124k in size as the background for each page. I've
recommended they use a smaller-size image, but the customer is absolutely
adamant about using the image.
I'm afraid that this large image will degrade performance if it's loaded for
each page. Can I somehow use ASP.NET caching to cache the background image
so it doesn't have to refresh on each page load?
Thanks, Mike