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 Jan 23, 2021. It is now read-only.
I had default_profile_image.png cached in staticFileGlobs. When offline, if profile images are not in cache, then fallback to default_profile_image.png.
It seems runtimeCaching is the right place to configure my fallback image then I have to write my own request handler, it would be really complex.
Wondering if there's any better way to do it in sw-precache.
The text was updated successfully, but these errors were encountered:
I'm not sure how to define fallback image for some url patterns as https://jakearchibald.com/2014/offline-cookbook/#generic-fallback describe in sw-precache.
I had
default_profile_image.png
cached instaticFileGlobs
. When offline, if profile images are not in cache, then fallback todefault_profile_image.png
.It seems
runtimeCaching
is the right place to configure my fallback image then I have to write my own request handler, it would be really complex.Wondering if there's any better way to do it in sw-precache.
The text was updated successfully, but these errors were encountered: