Well, IIS 6 pulled a Crystal today. We've had this problem where content won't come out of the cache when a file is updated. Now, usually IIS does it's thing reliably, but this time it wouldn't let go of cached files. We could over-write the file, delete it, rename it, anything, and IIS just served up the old version. I used FileMon from SysInternals and confirmed that no IO was happening when the files were requested.
So, we checked everything we could think of. ASP Caching got turned off. Meta-tags were set to automatically disable local caching. Re-starting the site would fix the problem, but as soon as the new file was served, it was cached, and never refreshed.
Then, customers started complaining that the files were old. Truckers to be precise. They rely on IIS to show them pictures of the terminal gates so that they can put down their coffee and drive into the terminal when the gates are empty. Now, the last thing you want is a bunch of angry truckers on your hands. Something had to be done.
I say pulled a Crystal, because when I found a fix, it was random, obscure, un-documented and involved changing a registry setting, just like most Crystal fixes. Here was our fix:
It had to do with the new Kernel-Mode caching in IIS. I added the reg value, UriEnableCache and set it to 0. I found the keys that control caching on a support page from MS (http://support.microsoft.com/?id=820129).
-Brendan
Music Tip: Gotta Love the Pogues
Posted
11-07-2003 11:03 AM
by
Brendan Tompkins