Solved

IIS4 cache

Posted on 1998-09-02
3
314 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
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

Why do Marketing keep bothering you?

Is your marketing department constantly asking for new email signature updates? Are they requesting a different design for every department? Do they need yet another banner added? Don’t let it get you down! There is an easy way to manage all of these requests...

Join & Write a Comment

Several part series to implement Internet Explorer 11 Enterprise Mode
If you get continual lockouts after changing your Active Directory password, there are several possible reasons.  Two of the most common are using other devices to access your email and stored passwords in the credential manager of windows.
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

705 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now