禁用特定域上的缓存? [英] Disable cache on specific domains?

查看:61
本文介绍了禁用特定域上的缓存?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有一种针对特定域禁用缓存的好方法?例如,无论何时我开始建立一个新网站,我都可以仅阻止该域进行缓存吗?我希望互联网的其余部分都可以缓存.

Is there a good way to disable cache for specific domains? For example, anytime I start building a new website can I block just that domain from caching? I would prefer the rest of the internet to be cache-able.

我目前正在使用Firefox Web Developer Toolbar插件来禁用缓存,有没有更好的插件?

I am currently using Firefox Web Developer Toolbar addon to disable cache, is there any better plugins?

推荐答案

内置的Firefox开发者工具具有禁用此工具箱处于打开状态的选项卡的缓存的功能.

Built-in Firefox Developer Tool has a features to disable cache for tabs where this toolbox is open.

禁用缓存:禁用浏览器缓存以模拟首次加载性能.从Firefox 33开始,此设置将继续存在,这意味着如果设置了该设置,则每当您重新打开devtools时都将禁用缓存.关闭devtools后,将重新启用缓存.

Disable cache: disable the browser cache to simulate first-load performance. From Firefox 33 onwards this setting persists, meaning that if it is set, caching will be disabled whenever you reopen the devtools. Caching is re-enabled when the devtools are closed.

https://developer.mozilla.org/zh-CN/docs /Tools/Tools_Toolbox

不幸的是,它不是每个域的,但这也许比Web Developer Toolbar更好.

Unfortunatley it's not per domain, but maybe this is better than Web Developer Toolbar.

这篇关于禁用特定域上的缓存?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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