Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save YangShunGit/90d15f9cd7d62d82fe95a4baa97852e8 to your computer and use it in GitHub Desktop.
Save YangShunGit/90d15f9cd7d62d82fe95a4baa97852e8 to your computer and use it in GitHub Desktop.
Service Workers离线缓存和HMR热更新冲突时导致页面一直刷新解决

F12打开开发者工具

切换到Application(应用)栏

点击栏板右上角【取消注册】,既可清除Service Workers缓存

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment