What is the process of turning a non optimized website/web page into one that works well as a PWA?

If it’s a google it for yourself and there’s good info there, that’s fine. There are just enough PWA wizards here I figure it’s a good place to start.

Reply to this note

Please Login to reply.

Discussion

#asknostr

I Forget this tag too often lol

Me too lol

I haven’t done it myself, but I suspect what you need is a ServiceWorker, which can intermediate requests and cache assets. For client-side storage, you’ll probably want IndexedDB, which can store any content that’s object serializable (even binary data like Blobs, ArrayBuffers and typed arrays).

This is a good start. Thank you!

Best of luck! 🙏

I’ve been doing a lot of work lately with IndexedDB. The npm library idb makes it easier to work with, strongly recommend. https://www.npmjs.com/package/idb