[英]Chrome - “disable cache”
I am using Chrome Dev Tools to debug a web app I'm making. 我正在使用Chrome Dev Tools调试我正在制作的网络应用。 I'm curious about this "Disable cache" button in Chrome Dev Tools:
我对Chrome开发工具中的“禁用缓存”按钮感到好奇:
Could someone please tell me what this does? 有人可以告诉我这是做什么的吗?
I've noticed some problems using Offline.js and discovered if I check "Disable cache" here in Dev Tools it works okay. 我注意到使用Offline.js时出现了一些问题,并发现如果我在Dev Tools中检查“禁用缓存”它可以正常工作。
But what exactly is that doing? 但到底是做什么的呢? I am using Cache Manifest in my app so it works offline, but if clicking "Disable Cache" in Chrome Dev Tools is actually just disguising a bigger problem that's not useful to me.
我在我的应用程序中使用缓存清单,因此它可以脱机工作,但如果点击Chrome开发工具中的“禁用缓存”实际上只是掩盖一个对我没用的更大问题。
Essentially what I think is happening: 基本上我认为发生了什么:
Any words of wisdom are welcome. 任何智慧的话都是受欢迎的。
The disable cache checkbox disable cache , it means every time you connect a server, you will download again the WHOLE website, even already downloaded images. 禁用缓存复选框禁用缓存 ,这意味着每次连接服务器时,您将再次下载WHOLE网站,甚至已下载的图像。
This may be used when you debug an application that have cache problem (you have cached informations & parsing them but the real data has been changed) 当您调试具有缓存问题的应用程序(您已缓存信息并解析它们但实际数据已更改)时,可能会使用此方法
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.