Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Offline-first for Your Static Site

Offline-first for Your Static Site

Jeffrey Posnick

January 26, 2017
Tweet

More Decks by Jeffrey Posnick

Other Decks in Technology

Transcript

  1. Full-page caching Benefits • Service worker simplicity. • Minimal deployment

    overhead. • No content duplication. • Works well with multiple layouts.
  2. App Shell Drawbacks • Routing logic in your service worker.

    • Duplication of content and routes.
  3. 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.