简体   繁体   English

离线模式下的 angular pwa

[英]angular pwa in offline mode

Angular 10, SSR, PWA, firebase hosting Angular 10、SSR、PWA、Firebase 托管

I created a PWA application.我创建了一个 PWA 应用程序。

with one connection I install it on my system and everything works.通过一个连接,我将它安装在我的系统上,一切正常。 I cut the internet, I can continue browsing.我切断了互联网,我可以继续浏览。 on the other hand, when I do an F5 refresh, I get an HTTP ERROR 504 page另一方面,当我执行 F5 刷新时,我得到一个 HTTP ERROR 504 页面

is there a solution?有解决办法吗?

Angular 10 - SSR - PWA Angular 10 - SSR - PWA

with lighthouse :灯塔

PROTOCOL_TIMEOUT Channel: DevTools Initial URL: https://blog-iner-code.web.app/home Chrome Version: 86.0.4240.198 Stack Trace: LHError: PROTOCOL_TIMEOUT at eval (devtools://devtools/remote/serve_file/@d8a506935fc2273cfbac5e5b629d74917d9119c7/lighthouse_worker/lighthouse_worker_module.js:1589:229) PROTOCOL_TIMEOUT 频道:DevTools 初始 URL: https ://blog-iner-code.web.app/home Chrome 版本:86.0.4240.198 堆栈跟踪:LHError:评估时的 PROTOCOL_TIMEOUT (devtools://devtools/remote/serve_file/@d8a506935fc2927d71c9635fc2506935 lighthouse_worker/lighthouse_worker_module.js:1589:229)

in application, "service worker" is detected在应用程序中,检测到“服务工作者”

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM