From Web App to Progressive Web App
summary
A small file‑sharing web app called Pangolín is used to demonstrate Progressive Web App techniques: an Express backend with simple queues and WebSockets, ngrok to provide HTTPS, and a service worker that caches assets and races cache vs network to serve instantly while updating in the background. A web app manifest enables a splash screen and standalone window; push notifications are implemented with browser push subscriptions and web-push (using Firebase for Chrome) so notifications can arrive when the browser is closed. The talk also notes practical quirks: service worker cache works only for GET requests, storage quotas of a few tens of MB, and race conditions with stale Gravatar images.
AI-written summary · about
