google-chrome - Chrome 浏览器如何确定内存缓存和磁盘缓存?

标签 google-chrome caching browser-cache

我知道chrome支持from memory cachefrom disk cache当我请求资源时。我没看到from memory cache前。
顺便说一句,chrome 如何确定哪些资源应该缓存在内存中?

enter image description here

最佳答案

使用 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/

相关文章:

http - 如果源 Web 服务器将响应 header 中的过期值设置为相对很久以前的时间,会发生什么情况?

android - 在javascript中规避chrome数据压缩代理

css - 在 Chrome 中 - 父 div 的 CSS 变换旋转导致文本被剪切

javascript - Chrome 扩展不会从弹出文件加载我的 JavaScript

PHP 缓存 (HTML + PHP)

css - 设置 CSS 文件的过期时间

javascript - 服务 worker : how to update the cache when files changed on the server?

html - 谷歌浏览器中的 div float 左错误

http - 用户代理能否在其请求中设置大于零的最大年龄?

regex - 用 Varnish +正则表达式替换页面中的内容