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
1: Is there a way to implement a cache priority within the firebase offline support. The use case is I have a bunch of critical document that i need to store offline. These critical documents may not be used frequently but should be stored and not purged over the more used, less important, documents when the cache reaches its size limit.
2: Is there a best way, to pre-cache documents for storage later. Like how workbox handles its precache. I have a feeling the answer to this one is just read all the documents within a service worker.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there,
I guess this is a two part question.
1: Is there a way to implement a cache priority within the firebase offline support. The use case is I have a bunch of critical document that i need to store offline. These critical documents may not be used frequently but should be stored and not purged over the more used, less important, documents when the cache reaches its size limit.
2: Is there a best way, to pre-cache documents for storage later. Like how workbox handles its precache. I have a feeling the answer to this one is just read all the documents within a service worker.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions