Mozilla Monitor website will be down for 2 hours starting 5/20/2025 at 6 AM PT. Visit our status site for updates.

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

how to uninstall PWA service worker cache?

  • 无回复
  • 0 人有此问题
  • 13 次查看
more options

I am developing a PWA, and to test it I installed my app on my mobile phone via firefox for android. However, my service worker was written to never update the cache. I would like to update it to refresh the cache on each load, but every time I install my app, it loads the old cached service worker and files, as if it is still running the old service worker. I have removed the app from my home screen, deleted cookies and cached data via the browser settings, and even uninstalled and reinstalled the firefox for android app alltogether. But when I install the app and open it, it still runs the old version. How can I delete this cached data so firefox fetches the new files?

I am developing a PWA, and to test it I installed my app on my mobile phone via firefox for android. However, my service worker was written to never update the cache. I would like to update it to refresh the cache on each load, but every time I install my app, it loads the old cached service worker and files, as if it is still running the old service worker. I have removed the app from my home screen, deleted cookies and cached data via the browser settings, and even uninstalled and reinstalled the firefox for android app alltogether. But when I install the app and open it, it still runs the old version. How can I delete this cached data so firefox fetches the new files?

您需要登录才能回复。如果您还没账号,可以提出新问题