on-internet
← Community

What can cause Chrome to give an net::ERR_FAILED on cached content against a server on localhost?

Stack Overflow ·

I'm building a web server and trying to test things. The server is running on localhost:888, and the first time I load the web app, everything works. But if I try to reload the page, a bunch of XmlHttpRequest requests fail with net::ERR_FAILED. By putting breakpoints in the server code, I can verify that the requests are never actually coming in. This isn't a connection failure, as the connection succeeds the first time. The fact that it succeeds once and then fails later implies that it might be caching-related, but there's nothing in the server code that sets the cache-control header. So I t

Comments

Sign in or sign up to comment and upvote.

No comments yet.