8000 GitHub - pengaying/learn-Pwa: PWA Learn
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

pengaying/learn-Pwa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

learn-Pwa

PWA Learn 简单学习PWA

PWA:Progressive Web App 渐进式网络应用

1、Service Worker 服务工作线程 常驻内存运行 代理网络请求 依赖HTTPS (PWA大脑) 2、promise 优化回调地狱 async/await 语法同步化 Api风格多样

3、fetch 是网络请求,比XMLHttpRequest更简洁 Promise风格 缺点:不能完全替代XMLHttpRequest,不能形成promise报告和about中断

4、cache API 支持资源的缓存系统(css/scripts/images) 离线缓存 没有网络可以依赖Service Worker代理网络请求

5、Notification API 依赖用户授权 适合在Service Worker中推送

About

PWA Learn

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0