isitchristmas / web

Main site.
https://isitchristmas.com
MIT License
251 stars 66 forks source link

Make this a Progressive Web App #149

Closed bifurcation closed 4 years ago

bifurcation commented 5 years ago

This is a bare-bones PWA implementation. In particular, the ServiceWorker just caches blindly and opportunistically. You probably want to ensure some stuff gets cached and exempt some other stuff (e.g., API calls).

@konklone There was no 512x512 icon, which is needed to pass the Google Lighthouse audit, so I just blew up the icon that was in there. Likewise, scaled down for the smaller icons. Might be good to regenerate these from vector source, assuming that exists.

To test: