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
The intention was that every GET the app sends via fetch would be cached, that includes SvelteKit routes, several Firebase calls, Mapbox tiles, ... but to prevent stale cache problems, these caches would only be used in case of a fetch error on assumed network loss.
Support SvelteKit server-side rendering #309 would also be helpful, because static pages like the rules page or homepage that don't critically depend on Firebase being logged/in should überhaupt not be blocked to load offline by Firebase support. They could easily be cached by a service worker when SSR is enabled.
Map tiles could be cached by a service worker, but we need to understand what to cache. Care needs to be taken that these should caches also expire at some point.
The text was updated successfully, but these errors were encountered:
See this commit e750fb3
So we were storing up to hundreds of MBs on user's browsers without providing any offline functionality for it.
It is possible though, and could be useful for:
But much more thought needs to go into this:
The text was updated successfully, but these errors were encountered: