如何清除Firefox中的Service Worker缓存? [英] How to clear a Service Worker cache in Firefox?

查看:90
本文介绍了如何清除Firefox中的Service Worker缓存?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Chrome中,可以从开发工具中清除Service Worker缓存.

In Chrome it is possible to clear the Service Worker cache from the Dev Tools.

我们如何在Firefox中实现这一目标?

How can we achieve that in Firefox?

到目前为止,我已经尝试过:

I've tried so far:

  • 要在 about:serviceworkers
  • 中取消注册服务
  • 清空 about:preferences#privacy
  • 下的缓存
  • 使用 Ctrl + F5
  • 重新加载页面
  • to unregister the service in about:serviceworkers
  • to empty the cache under about:preferences#privacy
  • to reload the page with Ctrl + F5

但它仍然存在...

推荐答案

如上所述,目前无法实现.但是已实施删除缓存条目和缓存的操作,因此应尽快推出( https://bugzilla.mozilla.org/show_bug.cgi?id = 1304297 ).例如,它已经在Firefox Developer Edition中可用.

As mentioned above, it is not possible right now. But deleting Cache entries and Caches has been implemented and should roll out soone (https://bugzilla.mozilla.org/show_bug.cgi?id=1304297). And it is already available in Firefox Developer Edition, for example.

这篇关于如何清除Firefox中的Service Worker缓存?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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