I have a problem with my Windows environment with Node.Js / Express.js, as a result of which static JS files can be marked as โpendingโ in the browser (with caching disabled) for up to two minutes, after which they seem to load a fine . This usually happens after several updates.
There are no errors, so I'm not sure how to explore further. The same code works fine on Mac OSX.
Node version v0.10.31, Express - 4.8.5.
Code for static file:
app.use(express.static(path.join(__dirname, 'public')));
Chrome DevTools shows:

source
share