1

Chrome keeps loading an image from cache, even when I have the dev tools open, and have disabled cache.

uwotm9

Why does Chrome do this?

How to make it stop?

Bjørnar Hagen
  • 757
  • 1
  • 8
  • 19

1 Answers1

0

The image you're loading is a base64 encoded inline image. That means it's no loaded via a separate HTTP request, but instead is embedded inside your HTML, CSS or JavaScript code.

The URL could look like this for example: data:image/png;base64,iVBORw0KG....

Fetching base64 image

Chrome is treating it as a request to a data: url, but since no server roundtrip is required to look it up Chrome shows it as "(from cache)". (This isn't quite accurate but does make some sense.)

Community
  • 1
  • 1
Matt Zeunert
  • 16,075
  • 6
  • 52
  • 78