Closed anotherglitchinthematrix closed 3 years ago
When configuring the Dio with the BaseOptions I need to use responseType: ResponseType.bytes but caching is not working in that case. It wasn't curicial for my use case, but in the future this behaviour may be improved.
responseType: ResponseType.bytes
Thanks for your issue. And yes, only json is supported. The dio-http-cache is similar to SharedPreference, not designed for large files.
When configuring the Dio with the BaseOptions I need to use
responseType: ResponseType.bytes
but caching is not working in that case. It wasn't curicial for my use case, but in the future this behaviour may be improved.