Install PraisonAIUI as a native-like app on any device — manifest, service worker, and offline support.
The PWA feature automatically serves three endpoints:
| URL | Purpose |
|-----|---------|
| /manifest.json | Web Application Manifest for installability |
/manifest.json
| /sw.js | Service Worker for caching and offline support |
/sw.js
| /api/pwa/config | PWA configuration for frontend consumption |
/api/pwa/config
The service worker uses a cache-first strategy for the app shell and a network-first strategy for navigation:
1. Install: Pre-caches the root URL and health endpoint
2. Activate: Cleans up old caches
3. Fetch: Navigation requests fall back to cached root for offline support
| Endpoint | Method | Description |
|----------|--------|-------------|
| /manifest.json | GET | Web Application Manifest |
| /sw.js | GET | Service Worker JavaScript |
| /api/pwa/config | GET | PWA configuration details |