dio_http_cache 0.2.5 dio_http_cache: ^0.2.5 copied to clipboard
http cache lib for Flutter dio like RxCache.It use sqflite as disk cache,and google/quiver-dart/LRU strategy as memory cache.
[0.2.5] - 2019-11-26 #
- Support ResponseType.bytes.
- Cache all headers.
- Change cache data type from TEXT to BLOB.
- WARNING: Because of the change in the database data type, when upgrading to this version, the data cached by the previous version will be erased.
[0.2.4] - 2019-11-16 #
- Support for get maxAge and maxStale from response headers.
- Improve example codes.
[0.2.3] - 2019-11-14 #
- Store cache only when response statusCode in 200 ~ 300.
- Support for store statusCode.
- Improve example codes.
[0.2.2] - 2019-11-14 #
- Store cache only when response statusCode equals 200.
[0.2.1] - 2019-10-29 #
- Fix crash for null value in headers
[0.2.0] - 2019-09-20 #
- Support for dio 3.0
[0.1.4] - 2019-09-17 #
- Fix bug for remove memory cache by primary key
[0.1.3] - 2019-08-21 #
- Change primaryKey to "host + path", and automatically use queryParams as the subKey.
- Support for delete caches by primaryKey. (Parsing primaryKey from path).
- Support for delete one cache by primaryKey and subKey. (Parsing primaryKey and subKey from path).
[0.1.2] - 2019-08-06 #
- Return Future
- Returns statusCode=200 if data was retrieved from the cache successfully.
- Support for forced data refresh from the network.
[0.1.1] - 2019-07-24 #
- Support delete all cache.
[0.1.0] - 2019-07-14 #
- This is a pre-release version.
- Support disk cache.
- Support memory cache.
- Support key and subKey.
- Support maxAge and maxStale.