PackageTrack
Sign in Get early access

http_cache_core

HTTP cache core models, pivot package for agnostic HTTP client implementation.

1.1.4 170K downloads/mo #915 most downloaded on pub.dev llfbandit/dart_http_cache

What this package is like to depend on

Last release 1 months ago

26 Jun 2026

Ships fairly regularly

a new release about every 6 months

Nearly every release is documented

notes for 8 of 8 stable releases

Nothing withdrawn

no release was ever pulled

1 years old

8 releases · first in 2025

3 releases in the last 12 months

see the full history below

Release timeline

8 releases · Mar 2025 to Jun 2026
2026
Release Pre-release

Releases

latest 8
  1. 1.1.4 26 Jun 2026
    Release notes
    • perf: DeepCollectionEquality to static const in CacheResponse and CacheControl.
    • perf: memoize getHeaders() to avoid repeated JSON decode per isExpired() call.
    • fix: treat bare max-stale (no delta) as accept any age.
    • fix: skip non-token Cache-Control directives instead of throwing.
    • fix: deduplicate getFromPath results by key instead of value equality.
    • fix: guard against whitespace-only and trailing-comma Cache-Control values.
    • fix: include If-None-Match to prevent bypassing client conditionals.
    • fix: enforce allowedStatusCodes in _isCacheable to prevent caching error responses.
    • chore: Update dependencies.
    • fix: anchor regex to prevent substring mismatches.
    • fix: treat max-age=0 as a cache directive in _hasCacheDirectives.
    • fix: move If-Modified-Since removal out of _hasConditions predicate.
    • fix: guard HttpDate.parse against malformed Last-Modified.
    • fix: CacheResponse.hashCode violated hash/equals contract for List fields.
    • fix: repair LRU linked-list corruption when removing a middle node.
    • chore: Min SDK is now 3.6.0.
    Open source →
  2. 1.1.3 13 Oct 2025
    Release notes
    • fix: Allow optional whitespace in header values.
    Open source →
  3. 1.1.2 30 Sep 2025
    Release notes
    • fix: Allow keyBuilder to depend on request body.
    Open source →
  4. 1.1.1 02 Apr 2025
    Release notes
    • fix: Send only one condition on request cache validation.
    • fix: BaseRequest now has headers getter instead of headerValuesAsList.
    • fix: 302 & 307 codes handling.
    Open source →
  5. 1.1.0 31 Mar 2025
    Release notes
    • feat: Early skip strategy calculation when request has already cache check conditions.
    • feat: Better handling of headers.
    • feat: Clamp cache-control values and other headers.
    • fix: Regression from versions 1.0.1 with CacheOptions#maxStale inverted behaviour.
    • chore: Add more comments.
    • chore: Add more tests & fix some.
    Open source →
  6. 1.0.2 29 Mar 2025
    Release notes
    • fix: Enforce CacheKeyBuilder headers as map of String values instead of dynamic.
    Open source →
  7. 1.0.1 28 Mar 2025
    Release notes
    • chore: Add writeContent to CacheResponse.
    • fix: CacheOptions#maxStale usage may lead to empty response body.
    • chore: Allow to read only headers or body.
    Open source →
  8. 1.0.0 27 Mar 2025
    Release notes
    • Initial version.
    Open source →
    Release notes
    • core: Same version as 0.6.0. Updating dependencies.

    • core: Add missing analysis pedantic file.

    • fix: Remaining minor warnings.

    • core: No known issue. Bump to 1.0 to be prepared for null safety version.

    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive