This may be more difficuly than you think.
It is entirely possible that a network device completely out of your
control is caching the files. A proxy on your ISP or another network could
be caching the files and there may not be any thing that you can do about
it.
Disableing the cache in IE is a start.
To disable IIS cache try the following article:
247389 IIS: How to Disable Caching of Specific MIME Types
http://support.microsoft.com/?id=247389
This article discribes how to add custom headers to the files, however, in
the case of some proxys or internet caching divices this will not work.
This is because the proxy or caching device does not read the headers.
Rather it simply caches all content that comes to it.
Lou Prete [MSFT]
This posting is provided “AS IS” with no warranties, and confers no rights.
You assume all risk for your use. © 2001 Microsoft Corporation. All rights
reserved.
--------------------
| Content-Class: urn:content-classes:message
| From: "Randy" <anonymous DeleteThis @discussions.microsoft.com>
| Sender: "Randy" <anonymous DeleteThis @discussions.microsoft.com>
| Subject: IIS cache
| Date: Fri, 19 Mar 2004 14:50:29 -0800
| Lines: 13
| Message-ID: <bccf01c40e04$938b6260$a001280a@phx.gbl>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="iso-8859-1"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
| Thread-Index: AcQOBJOLNTwfM1QITgaBuqRSIycSMA==
| Newsgroups: microsoft.public.inetserver.iis
| Path: cpmsftngxa06.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.inetserver.iis:299459
| NNTP-Posting-Host: tk2msftngxa08.phx.gbl 10.40.1.160
| X-Tomcat-NG: microsoft.public.inetserver.iis
|
| We are running IIS 5 on Win 2000 box, How do I disbale
| caching for a virtual directory on the server ?
|
| ie: http://www.company.com/sales: I want to disable
| caching on the sales virtual folder ( right now when I
| make some chages to my html pages, it takes some time to
| show the new page , I wnat to totally disable any html and
| other file caching for this virtual folder . I did disable
| cache on browser))
|
|
| Thanks
|
|