27

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

Halpo
  • 2,982
  • 3
  • 25
  • 54
  • I'm struck by this issue too, on my project, currently checking whether it's Cloudflare related, have you found a lead? – Kaan Soral Sep 17 '16 at 16:44
  • I have the same issue with Chrome version 59.0.3071.115 (Official Build) (64-bit), without using Cloudflare at all. I see this even when access resources from an internal webserver over an internal network. Very frustrating!! – richhallstoke Jul 24 '17 at 13:46
  • Yeah I never found a solution - I'm now a firefox user – Halpo Jul 25 '17 at 14:25

4 Answers4

23

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

Marian Klühspies
  • 15,824
  • 16
  • 93
  • 136
  • 5
    In my case, Norton 360 has cleaned up my browser caches, and it was causing the issue as explained above. If you are getting ERR_CACHE_READ_FAILURE error, you should check if you have some software which cleans up browser caches. – apptaro Feb 21 '22 at 01:32
  • 6
    Thanks Norton 360 was exactly my problem too! This issue was driving me crazy, even cleaning everything and reinstalling Chrome wasn't helping and I was truly stumped but lived with the issue for months since although it's annoying as _ it was never actually blocking me from using Chrome. Then I finally found this little sub-comment that I missed several times before. For anyone else using Norton 360, go to: Settings -> Task Scheduling -> Automatic Tasks -> Chrome Temporary Files – Johnson Wong Apr 27 '22 at 06:04
17

In my case, Norton 360 was deleting the temp Chrome files.

  1. Right-click on the Norton icon from the taskbar
  2. Open Norton 360
  3. Settings
  4. Tasks Scheduling
  5. Uncheck the 'Chrome Temp Files'
  6. Apply
Shemeemsha R A
  • 1,416
  • 16
  • 22
3

Update: This flag is no longer available.


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).

Shahar Shokrani
  • 7,598
  • 9
  • 48
  • 91
0

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!