Solved

IIS4 cache

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
DVD or CD-Rom Useage history in Windows event viewers 8 59
Problem to file 13 55
Scheduled Tasks Tweak 5 42
Microservices and Windows apps 5 46
Our Group Policy work started with Small Business Server in 2000. Microsoft gave us an excellent OU and GPO model in subsequent SBS editions that utilized WMI filters, OU linking, and VBS scripts. These are some of experiences plus our spending a lo…
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
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…
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

860 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