llfbandit / dio_cache_interceptor

Dio HTTP cache interceptor with multiple stores respecting HTTP directives (ETag, Last-Modified, Cache-Control) with options.
https://pub.dev/packages/dio_cache_interceptor
120 stars 70 forks source link

304 and json data is broken #157

Closed rambozzang closed 4 months ago

rambozzang commented 4 months ago

When the http code is 304, the cached data passes through fine. But I get an error in parsing. That is, the original call (json), the second cached data, and the value that is passed in the It seems to be different. How is everyone solving this? only http get method , post is good