Skip to main content

http_cache_file_store 3.0.0 copy "http_cache_file_store: ^3.0.0" to clipboard
http_cache_file_store: ^3.0.0 copied to clipboard

A filesystem cache store agnostic HTTP client implementation.

3.0.0 #

  • BREAKING: new file format, entries stored by previous versions are dropped once.
  • feat: implements StreamingCacheStore.
  • fix: entries are replaced atomically and never mixed.
  • fix: header updates are appended, a crash can't corrupt the entry.
  • perf: faster writes with less memory, deletes and cleans skip contents.

2.0.2 #

  • perf: use Uint8List.sublist when decoding fields.
  • fix: don't misreport older store unknown status code entry as 304.
  • fix: prune idle locks to prevent unbounded growth.
  • fix: preserve empty-body vs no-body distinction in serialized content.
  • fix: catch I/O errors when reading cache files.
  • chore: Min SDK is now 3.8.0.

2.0.1 #

  • chore: Update http_cache_core to 1.1.0.

2.0.0 #

  • feat: Saves response status code.
  • chore: Updated dependencies.

1.2.3 #

  • chore: Updated dependencies.

1.2.2 #

  • chore: Updated dependencies.

1.2.1 #

  • fix: Wrongly awaited clean method.
  • fix: Wrongly awaited getFromPath method.

1.2.0 #

  • feat: Add Store.getFromPath method.
  • feat: Add Store.deleteFromPath method.

1.1.0 #

  • Add request date to stored values.
  • Raise dio_cache_interceptor minimum version.

1.0.0 #

  • Initial release as external package.
  • Fixes concurrent access to files. Operations are locked per keys.
  • Web implementation doesn't throw exceptions anymore. Returns null or false result instead.
2
likes
160
points
35.3k
downloads

Documentation

API reference

Publisher

verified publishercow-level.ovh

Weekly Downloads

A filesystem cache store agnostic HTTP client implementation.

Repository (GitHub)
View/report issues

License

Apache-2.0 (license)

Dependencies

http_cache_core, path, synchronized

More

Packages that depend on http_cache_file_store