Bizarre Error in Chrome Developer Console - Failed to load resource: net::ERR_CACHE_MISS

Google ChromeGoogle Chrome-Devtools

Google Chrome Problem Overview


As far as I can tell, this error was not being thrown yesterday on Chrome, and as of this morning, it is. I have not changed any of my browser settings. I have attached a screenshot (after opening/closing Developer Tools window four times):

Failed to load resource: net::ERR_CACHE_MISS

This issue is tangentially similar to Stack Overlow post Failed to load resource under Chrome except that it only occurs when I "Inspect Element" in Chrome. Here are the details I have:

To the best of my ability I undid everything I did since last night (when I did not have this error) and the error persists. When I remove all pre-<html> PHP code, the error disappears.

When I only remove all the pre-<html> PHP code except

<?php session_start(); ?>

the error returns.

Since the error seems to involve PHP, I checked my error log, but there are no notices, warnings, nor errors. When I close the Developer Tools window and then open up the window without a page reload, the number of errors increments by one each time.

When I keep the window open, and then reload the page, the page reloads without throwing the error. However, as soon as I close the Developer tools window again, then open it (no page reload), the error is thrown. I checked my site on Firefox with Firebug enabled, and no errors are thrown, making it seem like a Chrome issue (version 38). My site seems to function normally otherwise. Other sites on device browsed via Chrome (for example, Yahoo) also experience this error.

Also, I have not manually changed any of my browser settings since months ago. As an additional note, this is the second strange error I have encountered in Chrome in the last year (see Stack Overflow question Failed to load resource: net::ERR_NETWORK_IO_SUSPENDED), to which no one was able to find a solution, even with a bounty offered.

Is there a way to prevent this error, or is this a browser-only issue? On a side note, when I open up Developer Tools in Chrome for Stack Overflow, there is no error thrown, so either Stack Overflow is not coded in PHP or they have a way to prevent this error. I think my site is not affected, but I am not 100% sure, and it makes me nervous :)

Google Chrome Solutions


Solution 1 - Google Chrome

Per the developers, this error is not an actual failure, but rather "misleading error reports". This bug is fixed in version 40, which is available on the canary and dev channels as of 25 Oct.

Patch

Solution 2 - Google Chrome

On Chrome's latest update (38.0.2125.104 m at the moment), Google added the option to know whether the files loaded to the website were newly downloaded from the server - or read from the local cache.

When an error like yours "hits" the console - you know the files were just downloaded from the server and not read from the local cache. You can recreate this error by clicking Ctrl + F5 (refresh and erase cache).

It fits your description where Firebug (or equivalents) doesn't fire any errors to the console - whilst Chrome does.

So, the bottom line is - your're just fine and you can ignore this error - it's merely an indicator.

Solution 3 - Google Chrome

Check to see if you have previously disabled caching in Chrome when the developer console is open - the setting is under the console, settings icon > General tab: Disable cache (while DevTools is open)

Solution 4 - Google Chrome

Check for the presence of words like "ad", "banner" or "popup" within your file. I removed these and it worked. Based on this post here: https://stackoverflow.com/questions/4390134/failed-to-load-resource-under-chrome it seems like Ad Block Plus was the culprit in my case.

Solution 5 - Google Chrome

See if you can recreate the issue in an Incognito tab. If you find that the problem no longer occurs then I would recommend you go through your extensions, perhaps disabling them one at a time. This is commonly the cause as touched on by Nikola

Solution 6 - Google Chrome

I had issues getting through a form because of this error.

I used Ctrl+Click to click the submit button and navigate through the form as usual.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionThe One and Only ChemistryBlobView Question on Stackoverflow
Solution 1 - Google ChromeCurtis MattoonView Answer on Stackoverflow
Solution 2 - Google ChromeAviadView Answer on Stackoverflow
Solution 3 - Google ChromermirabelleView Answer on Stackoverflow
Solution 4 - Google ChromekurdtpageView Answer on Stackoverflow
Solution 5 - Google ChromeJDandChipsView Answer on Stackoverflow
Solution 6 - Google ChromeKevinAduView Answer on Stackoverflow