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.