Well.... I think that's what's happening. I was wondering if anybody who knew this part of Moodle better than me could help.
We have seen our load-balancer getting "poisoned" with incomplete versions of the Moodle javascript and css files. Wreaking havoc. This happens if we purge the Moodle caches.
We think what is happening is that the load balancer is requesting the files while they are still being rebuilt. I've had a dig in the code and I can't find anything to make me think that sending such files is blocked while a purge is ongoing. I find this surprising but it would seem to be confirmed by the symptoms.
An obscure but nasty bug?
Thoughts appreciated.