dio_http_cache 0.1.3 copy "dio_http_cache: ^0.1.3" to clipboard
dio_http_cache: ^0.1.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.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