I have a PWA running on Firebase. My image files are hosted on the Firebase Storage. I\'ve noticed my browser doesn\'t save cache for files loaded from the storage system. T
Use Serviceworker for that.
You can save the urls without the token in cache and fetch them later.
This way changes in tokens will not affect you caching.
To cache without token, use something like
cacheUrl = url.origin + url.pathname.substr(0, url.pathname.length - urlPath.length) + urlPath;
and then cache.put(cacheUrl, response);