33

I knew that chrome supports from memory cache and from disk cache when I request resources. I didn't see from memory cache before. BTW how chrome determine which resource should be cached in memory?

enter image description here

gentlejo
  • 2,158
  • 4
  • 22
  • 30
  • I'm interested in this. Did you ever find out how Chrome decides what goes into its disk cache, in particular? There is a popularity algorithm, I can see that just from watching what gets served from the disk cache. – Tom Dec 20 '18 at 09:09

1 Answers1

-2

Using this document, the Caching section in particular, I understand that there are two caches, an on-disk cache and a very fast in-memory cache.

As for your actual question, how does Chrome decide what gets cached where, I believe the next line provides the answer

The lifetime of an in-memory cache is attached to the lifetime of a render process, which roughly corresponds to a tab

While I am not entirely sure, I believe the in memory cache serves the current tab.

mayk93
  • 1,187
  • 2
  • 12
  • 30