I'd expect a browser to be consistent in its behavior, and so HTTP server. As long as I understand your problem, I would check if the browser's cache isn't trying to serve a file that it had not fully downloaded, but that's just a guess. That's why clearing the cache or restarting the browser might have helped.