单个文件的chrome缓存删除 [英] chrome cache removal for single files

查看:106
本文介绍了单个文件的chrome缓存删除的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最近,我必须删除我的整个缓存才能查看正在处理的网页.我想这很好,但是可以通过从缓存中删除特定页面来改进. chrome.browsingData.remove,似乎没有指示要删除的单个页面的选项.我想知道这是否可以在外部完成,但是我对铬代码不熟悉.我还想知道是否对chrome.browsingData.remove实现进行了任何计划的更改. 非常感谢

recently I had to remove my entire cache to be able to view a webpage I was working on. This is fine I guess but it could be improved by removing specific pages from the cache. the chrome.browsingData.remove, seemingly has no option for indicating individual pages for removal. I was wondering if this could be done externally, but I am not familiar with the chromium code. I was also wondering if there are any planned changes to the chrome.browsingData.remove implementation. Many thanks

推荐答案

如果您正在处理网页,并且希望避免缓存(顺便说一句,建议!:),您今天就可以在Chrome DevTools中做到这一点. 转到设置"(右下角的图标),然后单击它. 然后,您将有一个选项'disable cache'-标记它并完成.

If you are working on a webpage and wish to avoid caching (btw, it's recommended! :) You can do it today in Chrome DevTools. Go to Settings (the icon in the bottom-right corner) and click on it. Then, you will have an option 'disable cache' - mark it and you done.

当您完成工作后,别忘了返回此状态,因为chrome的缓存架构会更快.

Just don't forget to return this state when you done working as chrome will be faster with its caching schema.

这篇关于单个文件的chrome缓存删除的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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