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

Add Service Worker #199

Open
jbmoelker opened this issue Nov 4, 2024 · 1 comment
Open

Add Service Worker #199

jbmoelker opened this issue Nov 4, 2024 · 1 comment

Comments

@jbmoelker
Copy link
Member

User story

As a website visitor,
I want web pages to be cached,
so I get a fast and reliable experience.

Strategy

Add a Service Worker with a strategy to use recently cached pages (x minutes ago?), then try the network (if older or not in cache), then cache (if network fails, and an older cached page is at least still available).

We could use Workbox for this.

@jbmoelker
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant