hurshi / dio-http-cache

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

Support for ETag and If-None-Match headers #44

Open thib92 opened 4 years ago

thib92 commented 4 years ago

Hello,

I love your library, it's a really nice plug-and-play addon.

I could not find anything in the docs regarding ETag and If-None-Match HTTP headers. I am using those to diminish network traffic between my app and my back-end.

Are these supported out of the box? If not, I'd be glad to try and implement this feature.

abbasghomi commented 3 years ago

Please take look at this PR https://github.com/hurshi/dio-http-cache/pull/32