Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Turn Camino into a PWA #327

Open
jxjj opened this issue Jul 21, 2022 · 2 comments
Open

Turn Camino into a PWA #327

jxjj opened this issue Jul 21, 2022 · 2 comments
Labels
discussion enhancement New feature or request

Comments

@jxjj
Copy link
Contributor

jxjj commented Jul 21, 2022

For discussion:

It's likely that users may have limited connectivity on a Camino tour. Converting Camino to a full PWA would give these users a better experience.

For example, instead of caching some data with (blocking) LocalStorage or even (non-blocking) IndexedDB, we could adopt a more modern approach of using the Cache API (supported by all modern browsers) in service workers with something like WorkboxJS. My understanding is that other assets could be cached too (fonts, icons, images), and there are strategies for background updates, manifest generation, and versioning.

As the Cache API works at the request/response layer, it should be easier to incorporate into our app.

Thoughts?

@cmcfadden
Copy link
Member

Have you found any good articles on the current state of PWA, especially on iOS? Does a PWA only count as a PWA if you've added it to your home screen using that widget in mobile safari? At one time, there were some capabilities that were only granted to websites in that case, so I'm not clear where the boundaries are these days.

@cmcfadden
Copy link
Member

Other question - what's the current state of caching media assets? To me, there's not a ton of value of caching a few kilobytes of JSON if the client is still going back to the network to load an image when they get to stop 9.

@jxjj jxjj added the enhancement New feature or request label Aug 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants