flutter_cache_store
flutter_cache_store copied to clipboard
Possibillity to store files compressed
In our usecase we work with big JSON files which gets much smaller even on a simple gzip compression.
We would be able to cache much more files (or use much less space on the device) when we would be able to store the files compressed.
it's doable. just a new interface allowing custom serializer. but it's wasteful. if your raw response body with gzip/deflate encoding, there is no point to decompress it first then you manually compress it again.