Skip to content

djlxiaoshi/pwa-study

Repository files navigation

项目说明

  • app.js: 前端页面主要js文件 (注册Service Worker、发送ajax请求)

  • server.js: 服务端代码(启动静态服务器,ajax请求响应)

  • sw.js: 自己写的Service Worker

  • workbox.sw.js: 基于workbox缓存策略库的Service Worker(在app.js中将sw.js替换成这个就行)

  • manifest.json 桌面图标配置文件

  • sw-study.js 参考的sw

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published