March 25, 2023, 5:53pm
Hi, I just finished my
PWA module and it’s docs, you may be interested in it.
Offline available: offline page and offline image.
Installable: can be added to home screen.
Precaching: allow precaching pages, CSS, JS, fonts and so on.
1: supports cache first, network first and stale while revalidate.
You can preview it via the video below, the
real site and the demo site.
March 27, 2023, 7:04am
Are you able to cache external files, like images / JS assets hosted on a separate server?
March 27, 2023, 10:45am
Currently, external files were ignored to be cached (but preaches works with external files). I have an idea how to configure which origin’s assets can be cached, and make it configurable by users, this feature is planned.
March 27, 2023, 3:32pm
I added this feature into
v0.2.1, you could preview it on the
demo site, users can control which origins are trusted, only the same origin (base URL) is trusted by default.
Screenshot on offline.
March 27, 2023, 8:09pm
This. is. awesome. Thanks!
March 28, 2023, 4:43am
On my list to have a look on that
just need to find a bit of time…