检查网络响应是来自服务器还是 Chrome 缓存 [英] Check whether network response is coming from server or Chrome cache

查看:33
本文介绍了检查网络响应是来自服务器还是 Chrome 缓存的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在 Google Chrome 中,如何检查哪些文件来自浏览器缓存,哪些来自服务器?

In Google Chrome, how you can check which files are served from the browser cache, and which comes from the server?

推荐答案

在 Chrome Developer Tools 中切换到 Network 选项卡,在 Size 列上它会给出下载内容的大小或者说(from disk/内存缓存).

In Chrome Developer Tools switch to the Network tab and on the Size column it will either give you the size of the downloaded content or say (from disk/memory cache).

这篇关于检查网络响应是来自服务器还是 Chrome 缓存的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆