Solved

IIS4 cache

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

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

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

Determining the an SCCM package name from the Package ID
This article is a collection of issues that people face from time to time and possible solutions to those issues. I hope you enjoy reading it.
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

737 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