Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We have a script that regularly updates itself on a scheduled task. It downloads a ZIP, then extracts and overwrites a bunch of app files with new ones.

We're seeing many cases on IIS where the updated files aren't "seen": Display oddities or in the worst cases, errors because a "new" file has somehow included a "old" file. Restarting IIS fixes the problem.

I've tried adding explicit calls to wincache_refresh_if_changed but this doesn't seem to fix it.

Does each FastCGI process use its own WinCache cache? So I'd need to refresh all of them (how?). But it seems to me that everything should "just work" since wincache.fcndetect is enabled.

share|improve this question
Why not just have the update script explicitly reload the site? I think that recycling the application pool may be all that you need to do to clear the cache, and you can definitely script that with powershell. – Moshe Katz May 16 '14 at 2:13

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.