Can browsers cache the embedded base64 images also?

Viewed 10609

I was wondering if any of the modern browsers actually cache the embedded images -- base64 strings, or not?

Also is that a possibility in the near future? based on the official documents by either W3C or major browsers.

3 Answers

Browsers can cache downloaded files. If the Base64 string is in a text (or JSON) file then it can be cached. This data can then be used directly in the HTML (or if JSON, parsed with Javascript and used with HTML).

Related