'ERR_CACHE_READ_FAILURE in google chrome

more often than not, I get a list of ERR_CACHE_READ_FAILURE errors when loading a web page in google chrome - this results in assets not being loaded, images, style sheets etc.

what would be the cause of this? I have tried disabling browser extensions, clearing cache etc.

It is causing me issues when testing websites, as they work fine on other machines or browsers



Solution 1:[1]

In my case a tool called Dell SupportAssist has cleaned up browser caches by deleting their temp folder contents, meanwhile the browser had database entries to those cached files somewhere else and thought the cached data is still available.

Solution was to delete those references to inexisting files by cleaning the browser cache within Chrome

Solution 2:[2]

Try typing in chrome url bar: chrome://flags/#enable-simple-cache-backend,

Then enable Simple Cache for HTTP.

enter image description here

Reference to google forum with the issue (link).

Solution 3:[3]

Yes. In my case, Norton 360 was deleting the temp Chrome files. Right-click on Norton icon from taskbar, Open Norton 360 -> Settings -> Tasks Scheduling -> Uncheck the 'Chrome Temp Files' -> Apply

Solution 4:[4]

I had this problem some years ago and fixed it changing dynamically the name of the elements I needed to prevent from being cached, this is how it works.

I defined a variable getting its value by the integer format of the current datetime (you can put whatever you want), that variable was attached to the source path of my elements to be used

This can be a JavaScript...

var cacheVersion = new Date().getTime();

This is how you include the variable...

<link rel="stylesheet" type="text/css" href="${styleSheet}?${cacheVersion}">
<img src="${imagePath}?${cacheVersion}">

... etc.

Having extra text after '?' does not modifies the file location.

The point is that when the file name changes the browser is forced to reload it no matter what it cached before or what browser you are using.

enter image description here

Enjoy!

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Marian Klühspies
Solution 2 Shahar Shokrani
Solution 3 Shemeemsha R A
Solution 4 Omak Al-Qantara