flutter_cache_store icon indicating copy to clipboard operation
flutter_cache_store copied to clipboard

Possibillity to store files compressed

Open stefanpieck opened this issue 5 years ago • 1 comments

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.

stefanpieck avatar Jan 07 '20 09:01 stefanpieck

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.

eGust avatar Jan 11 '20 00:01 eGust