Caching is a great way to improve performance on the Web;
however, sometimes you might want to force images to be
downloaded on each and every visit to a Web page. An example
of this might be a page that generates images dynamically
(for example, bar charts) but where the page uses the same
filenames over and over. Obviously, in this case, you must
require that the image be downloaded every time. So, to
prevent images in a directory from being cached, launch the
Internet Services Manager, navigate to the images directory in
question, then right-click the folder, and choose Properties.
In the Properties dialog box, select HTTP Headers, and then
click Add. Enter the following three headers:
cache-control:no-cache
pragma:no-cache
expires:0
This will prevent any images in the folder from being cached
on the client, so that you can modify them as often as you
like without fear of users seeing out-of-date versions.
Preventing Image Caching
By ElementK Journals, published on 14 Jul 2001
| Filed in
You might also like...
ASP (3.0) forum discussion
-
About software training for beginner
by sudarshan380 (0 replies)
-
How to convert varchar to numeric
by rajrprk (0 replies)
-
In And Out Of My Golf Game ?
by pukiy2011 (0 replies)
-
Rip Blu-ray to Transformer Prime-Mac Blu-ray to Transformer Prime Converter
by tomjason9 (0 replies)
-
SENDING TEXT MESSAGES TO MOBILE PHONES FROM A WEBPAGE USING ASP.NET 1.1
by simonnjoroge2000@yahoo.com (0 replies)
ASP (3.0) podcasts
-
Microsoft MSDN Videos: New Web Developer features in VS 2010
Published 1 year ago, running time 0h0m
Mike Ormond, from Microsoft's Developer and Platform Group, gives a session on the top 10 items that developers might be interested in learning more about in Visual Studio 2010 and ASP.net.
Comments