PWALive

PWA & Smart Cache

Installation via beforeinstallprompt, a Service Worker with three different cache strategies per resource type (Network First for HTML, Cache First for images, Stale-While-Revalidate for JS/CSS, via Serwist), and an online/offline status indicator that does a real ping to /api/health together with a navigator.onLine check to confirm the connection status.

PWA Service Worker Cache Strategies Serwist Installable Offline Available

Technologies

  • Web App Manifest
  • Service Worker
  • Serwist

Architecture

  • Offline Available
  • Service Worker as network proxy
  • Cache via Serwist

Concepts

  • Native experience
  • Offline availability
  • Smart Cache Strategies

Demo area

The demo is 100% functional — try it now.