LoginSignup
0
3

More than 5 years have passed since last update.

localhost が以前の Progressive Web App に乗っ取られる

Posted at

症状

Rails アプリを立てて localhost:3000 を開いたのに、閉じたはずの PWA(Progressive Web App) の画面がロードされてしまうことがあった。
Force Reload すると実際のアプリケーションがロードされるけど、毎回必要な状態だ。

原因と対応

SPA の Service Worker がしっかりと動いているのだ。

chrome://serviceworker-internals/ で管理できるので、Unregister すればよい。

ServiceWorker.png

0
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
3