While emptying your browser’s cache may not be something that you need to worry with often or at all there are times when clearing it can be helpful. The Empty Cache Button extension lets you have instant on-demand cache clearing in Firefox.

虽然清空浏览器的缓存可能不需要担心,但经常或根本不需要清空它会有所帮助。 Empty Cache Button扩展使您可以在Firefox中即时按需清除缓存。

Some reasons why you might want or need to clear your browser’s cache:

您可能需要或需要清除浏览器缓存的一些原因:

  • Clear out older (or out of date) versions of images, etc. from your favorite websites

    从您喜欢的网站中清除旧版本(或过时)的图像等
  • Free up disk space

    释放磁盘空间
  • Clearing the cache may help fix browser behavior issues

    清除缓存可能有助于解决浏览器行为问题
  • Help protect privacy (i.e. images, etc. displayed within a personal account)

    帮助保护隐私(即个人帐户中显示的图像等)

Before

之前

For our example we loaded three webpages in order to add content to our browser’s cache.

对于我们的示例,我们加载了三个网页,以便将内容添加到浏览器的缓存中。

向Firefox添加缓存清除按钮

Using the “CacheViewer” we were able to easily see the contents of our browser’s cache after the webpages finished loading. What if you need to clear your cache immediately without restarting your browser (if the options are set to empty the cache on browser exit)?

网页加载完成后,使用“ CacheViewer”,我们可以轻松查看浏览器缓存的内容。 如果您需要立即清除缓存而不重新启动浏览器(如果选项设置为在浏览器退出时清空缓存),该怎么办?

Note: CacheViewer is available via a separate extension and can be found here.

注意:CacheViewer可通过单独的扩展名获得,可以在此处找到。

向Firefox添加缓存清除按钮

Empty Cache Button in Action

空缓存按钮正在运行

Once you install the extension all that you need to do is right click on any of your browser’s toolbars and select “Customise”. Drag the “Toolbar Button” to an appropriate location in your browser’s UI and you are ready to go.

安装扩展程序后,只需在浏览器的任何工具栏上单击鼠标右键,然后选择“自定义”即可。 将“工具栏按钮”拖到浏览器用户界面中的适当位置,即可开始使用。

向Firefox添加缓存清除按钮

To clear your browser’s cache simply click the button…that is all there is to it.

要清除浏览器的缓存,只需单击按钮即可。

向Firefox添加缓存清除按钮

When the cache is empty you will see this small message window appear in the lower right corner of your “Desktop”.

当缓存为空时,您将看到此小消息窗口出现在“桌面”的右下角。

向Firefox添加缓存清除按钮

Opening up the “CacheViewer” again shows that everything has been cleared out. Terrific!

再次打开“ CacheViewer”,表明一切都已清除。 了不起!

向Firefox添加缓存清除按钮

Conclusion

结论

If you ever find yourself needing to clear your browser’s cache immediately then the Empty Cache Button extension provides an easy way to do so without restarting your browser (if the options are set to empty the cache on browser exit).

如果您发现自己需要立即清除浏览器的缓存,则使用“清空缓存按钮”扩展程序可以轻松进行此操作,而无需重新启动浏览器(如果选项设置为在退出浏览器时清空缓存)。

Links

链接

Download the Empty Cache Button extension (Mozilla Add-ons)

下载Empty Cache Button扩展(Mozilla附加组件)

翻译自: https://www.howtogeek.com/howto/13458/add-a-cache-clearing-button-to-firefox/

相关文章:

  • 2021-12-07
  • 2021-12-02
  • 2021-11-17
  • 2022-01-15
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-07-03
  • 2021-09-12
  • 2022-02-21
  • 2022-12-23
  • 2022-12-23
  • 2021-11-05
  • 2021-12-05
相关资源
相似解决方案