Solved

IIS4 cache

Posted on 1998-09-02
3
325 Views
Last Modified: 2013-12-28
my web site is located on a virtual server running IIS4. on the site, i'm hosting a webcam and a few isapi extensions..

the problem is, the server is set up to cache files.. when, for example, a few people look at the webcam for a few minutes, the picture will hang after a while because the server begins caching it. thus it won't reload the newest picture even though it's reloading..

this caching ALSO causes a problem for my isapi dlls.. apparently, when a dll is loaded on my site, the nt box won't let go of it incase i need to delete/update it..  

i know caching can be turned off on the server, but 1) i don't have access to the server (because again, it's a virtual host and i have no physical contact with the machine) and 2)my provider says the only way they know how to disable the cache is to disable it for the whole machine.. obviously this would slow down the machine considerably..

my question: is there a way to disable the cache for my site only? or is there another way to get around this?
0
Comment
Question by:rabbitears
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 

Expert Comment

by:sabre2
ID: 1792274
As far as I know your out of luck unless you have access to the caching utilities on the server. To adjust cache on the server goto HKEY_LOCAL_MACHINE \current control set \services\inetinfo\parameters\memory cache size

Windows NT and IIS handle Caching in completely different ways.

You could also check how it handles if you change your virtual memory size on your machine.  multiply your physical memory size by 1.5 to get the figure.

0
 

Expert Comment

by:marar
ID: 1792275
To disable caching for ISAPI applications, you can disable from the propertie tab of the virtual directory. Tell the provider to do this. On the tab of the properties, it specifies what kind of applications are available and what should be the caching mechanisms for each of them. This can solve your ISAPI dll caching problem.
0
 

Accepted Solution

by:
leon321 earned 50 total points
ID: 1792276
The ISAPI DLL should be designed in a manner that the request and respond threads are not cached. If you wan't to reload a page or whatever, and you want to force a reload from the server, you could use a java script command called 'refresh' or 'reload'. If you call it with 'true' as parameter, for instance something.refresh(true) , the document/resource is retrieved from its original location and not from a cached copy.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
An article on effective troubleshooting
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question