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
119 stars 70 forks source link

304 and json data is broken #157

Closed rambozzang closed 2 months ago

rambozzang commented 3 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