How chrome browser determine memory cache and disk cache?

Google ChromeCachingBrowser Cache

Google Chrome Problem Overview


I knew that chrome supports from memory cache and from disk cache when I request resources. However, I didn't see from memory cache before.

How does chrome determine which resources should be cached in memory?

enter image description here

Google Chrome Solutions


Solution 1 - Google Chrome

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.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestiongentlejoView Question on Stackoverflow
Solution 1 - Google Chromemayk93View Answer on Stackoverflow