Skip to content

dutchwebworks/pwa-simple-static-service-worker-workbox-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PWA Simple Static Service-Worker Workbox example

By Dennis Burger, April 2023

App manifest and generating icons

Caching strategies

There are several Google Workbox caching strategies available: https://developer.chrome.com/docs/workbox/caching-strategies-overview/#caching-strategies

Pre-caching

https://developer.chrome.com/docs/workbox/modules/workbox-precaching/

A good idea is to pre-cache certain files that are guarantee to keep working for a long time:

  • Fonts
  • Logo
  • Some big fixed hero images on (blog / news) detail pages

Runtime-caching

PWA install prompt

About

PWA Simple Static Service-Worker Workbox example

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published