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
Ah, the fetch API is something I've been looking for for years, but didn't know where to look. The default web caching works fine with HttpRenderer, but not with CanvasKit, which is now the default anyway.
The other platforms are already supported using a json file instead of sqflite, but having everything on 1 system makes sense. Drift looks like a good tool to use instead of json files, I'll take a look at that.
We do need a migration path for existing users, so their sqflite file is moved over to drift, but we can make that work.
I'd say that if we go for a bigger rewrite we should also directly look at testing tools to have an easy way to return mock files or at least mock data.
🏗 Enhancement Proposal
I recently was able to support all native platforms and web with an emulation of how the browser works with saving, revalidating and evicting cache.
https://github.com/rodydavis/http_get_cache
The goal is to support the same way the browser does caching:
Pitch
Platforms affected (mark all that apply)
The text was updated successfully, but these errors were encountered: