dio_http_cache 0.2.3 copy "dio_http_cache: ^0.2.3" to clipboard
dio_http_cache: ^0.2.3 copied to clipboard

outdated

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.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.
241
likes
0
pub points
96%
popularity

Publisher

unverified uploader

http cache lib for Flutter dio like RxCache.It use sqflite as disk cache,and google/quiver-dart/LRU strategy as memory cache.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

crypto, dio, flutter, json_annotation, json_serializable, path, quiver, sqflite

More

Packages that depend on dio_http_cache