Progressive Web App

PWA-ready Sinatra starter

This service can be installed, launched in standalone mode, and reused offline after the first successful visit.

Runtime status

Local version
Loading
Remote version
Checking
Connectivity
Online
Display mode
Browser tab
Service worker
Registering

Open this page once while online, then reload it offline to verify the cached start page and local build info.

Included PWA basics

  • The app exposes server build metadata from the deployed container environment.
  • The service worker uses build-keyed caches for the start page, manifest, script, and icons.
  • A newer deployed build is detected from `/version.json` and can be applied with the update button.
  • Portrait orientation is requested for installed launches.
  • Landscape mobile sessions show a blocking rotate-device overlay.
  • Viewport zoom is disabled for kiosk-style mobile usage.