You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 3, 2022. It is now read-only.
We have an self-made system created in a subdirectory of our site. The issue is, its not refreshing correctly when we enable pwa. So we added the url to the "Offline URL Blacklist". Only its not working. Is that beceause its an subdirectory?
Thanks!
The text was updated successfully, but these errors were encountered:
The system being in a subdirectory shouldn't affect anything. The service worker simply uses the URL path to decide whether the HTML request gets cached or not. One thing to keep in mind is that the blacklist only affects HTML requests. If your system relies on its JavaScript or other assets being fetched fresh from the server, you'd have to modify the serviceworker.js file to exclude those.
Cheers,
Tomas
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi there,
We have an self-made system created in a subdirectory of our site. The issue is, its not refreshing correctly when we enable pwa. So we added the url to the "Offline URL Blacklist". Only its not working. Is that beceause its an subdirectory?
Thanks!
The text was updated successfully, but these errors were encountered: