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

PWA sometimes fails to cache all its assets, and then does not fetch them when needed #523

Open
Jaifroid opened this issue Jan 1, 2024 · 0 comments

Comments

@Jaifroid
Copy link
Member

Jaifroid commented Jan 1, 2024

If the PWA fails to cache all its assets on first load, it should later fetch (and cache) any resources needed if it is online. But it doesn't always seem to do this. For example, with the darkreader.min.js plugin, I have seen a few cases of it failing to load as part of the PWA, and then refusing to load subsequently. It just silently fails and the user is left wondering why dark mode is not responding.

What should happen is that resources are fetched from the server whenever needed if they are not cached, as this is part of the PWA specification (fallback to online version). Needs debugging, but it is difficult to reproduce.

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