dio_cache_interceptor
dio_cache_interceptor copied to clipboard
Dio HTTP cache interceptor with multiple stores respecting HTTP directives (ETag, Last-Modified, Cache-Control) with options.
**Idea 1**: Maybe an option to specify the max amount of items (or size) the cache stores at a time, in the interceptor, Currently it seems like the package caches...
Works fine on mobile, however building for web fails: ``` Target dart2js failed: ProcessException: Process exited abnormally with exit code 1: /C:/.../Pub/Cache/hosted/pub.dev/dio_cache_interceptor_isar_store-1.0.1/lib/src/store/cach e_collection.g.dart:18:7: Error: The integer literal 1541975981581312059 can't be...
The onError handler of DioCacheInterceptor is not able to hand over error handling to the next interceptor in the pipeline. After the onError handler is finished an exception occurs that...
The current implementation of deleting cache entries, via a given path, in the db cache store implementation, is very slow. It manually exports 10 database cache entries at a time,...
Thanks for this great project first. I would like to use the v3.5.0 to handle the HTTP 304 case, but I got a HTTP 304 (cached) response. By the [RFC...
Currently, only GET requests seem to be handled and optionally POST methods, if allowPostMethod == true. I suggest replacing allowPostMethod with allowedMethods: Set, so the user can configure which methods...
Hello It would be really nice if we can make `callFollowingResponseInterceptor` of the `handler` method configurable. I saw that you made it default to true in response to a request...
Add a `CacheStore` implementation with Realm database
I am seeing an issue where a server response has `cache-control: no-cache="set-cookie"` as one of the headers. The double-quotes fail the `token` regular expression match used in `DioCacheInterceptor` resulting in...
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...