我知道chrome支持from memory cache
和 from disk cache
当我请求资源时。我没看到from memory cache
前。
顺便说一句,chrome 如何确定哪些资源应该缓存在内存中?
最佳答案
使用 this
文档,Caching
特别是部分,我知道有两个缓存,an on-disk cache and a very fast in-memory cache
.
至于你的实际问题,Chrome 如何决定缓存在哪里,我相信下一行提供了答案
The lifetime of an in-memory cache is attached to the lifetime of a render process, which roughly corresponds to a tab
虽然我不完全确定,但我相信内存缓存服务于当前选项卡。
关于google-chrome - Chrome 浏览器如何确定内存缓存和磁盘缓存?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45497696/