-
Notifications
You must be signed in to change notification settings - Fork 210
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
service worker responds with cache to fetch requests everytime its available #1237
Comments
Okay so for that, I guess we should be using Something similar is implemented here in community toolbox, we can switch to something similar if it is not breaking anything here...? |
@harshkhandeparkar i have solved this issue can i raise a PR for this? |
Sure! |
Thank you |
Please describe the problem (or idea)
This line in
sw.js
is responsible for responding with cache to every fetch request whenever the cache is available. Does this mean user would be getting a cached response every time? Do we have any cache invalidation techniques to make sure cache doesn't get stale?Please show us where to look
https://beta.sequencer.publiclab.org
What's your PublicLab.org username?
icode365
Browser, version, and operating system
Thank you!
Your help makes Public Lab better! We deeply appreciate your helping refine and improve this site.
To learn how to write really great issues, which increases the chances they'll be resolved, see:
https://publiclab.org/wiki/developers#Contributing+for+non-coders
The text was updated successfully, but these errors were encountered: