App Shell
Drawbacks
● Routing logic in your service worker.
● Duplication of content and routes.
Slide 19
Slide 19 text
Option 3:
Service worker templating
Slide 20
Slide 20 text
Service worker templating
Real-world example
https://jeffy.info
Slide 21
Slide 21 text
Service worker templating
Benefits
● Clean updates.
● Low-overhead precaching.
● No Single Page App (SPA) required.
Slide 22
Slide 22 text
Service worker templating
Drawbacks
● Requires a JavaScript-friendly templating system.
● Heavyweight service worker code.
● Routing logic in your service worker.
● Duplication of content and routes.