Breaking: AMP is fast
This page demonstrates the AMP as PWA pattern:
- It's a valid AMP page
- It has a web app manifest: manifest.json
- It installs a service worker:
- Only installed for original domain, not AMP cache
- When installed it caches some files for offline use
- When running it intercepts requests, and serves from cache if possible
- For URLs ending in amp.html (e.g amp.html), it injects JavaScript to augment the AMP page
Related content
Most read