hurshi / dio-http-cache

http cache lib for Flutter dio like RxCache
Apache License 2.0
274 stars 223 forks source link

Is it possible to get data from the cache without passing the options parameter in requests? #64

Closed guilhermedaldim closed 3 years ago

guilhermedaldim commented 3 years ago

Would I have to configure the cache directly through CacheConfig? And continue getting data from the offline cache?

It being not necessary to use the options parameter in all requests.

hurshi commented 3 years ago

Hello, Thanks for your issue. Yes, it's necessary now. I think the developer must know what happened for every request. And 'cache data by default' is not a good way.