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
I want to make a simple service worker cache so I have write the following function:
caches.open(CACHE) // Open a cache it's just key-value map system
.then(function(cache){
cache.addAll([ // add all files and directoy you want to cache
'./index.html',
.
.
.
The issue is the URL rewriting when I go to www.mywebsite.com/index.html no problem
But if I go to the main URL www.mywebsite.com cache it's not able to link with the index.html page storage in cache.
What is the best solution to resolve that?
I have the same issue with some href wich use URL rewriting
Thanks for all
The text was updated successfully, but these errors were encountered:
Hi every,
I want to make a simple service worker cache so I have write the following function:
The issue is the URL rewriting when I go to www.mywebsite.com/index.html no problem
But if I go to the main URL www.mywebsite.com cache it's not able to link with the index.html page storage in cache.
What is the best solution to resolve that?
I have the same issue with some href wich use URL rewriting
Thanks for all
The text was updated successfully, but these errors were encountered: