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 2026Releases
latest 8-
1.1.426 Jun 2026Release notes
Open source →- 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.
-
1.1.313 Oct 2025 -
1.1.230 Sep 2025 -
1.1.102 Apr 2025Release notes
Open source →- fix: Send only one condition on request cache validation.
- fix: BaseRequest now has
headersgetter instead ofheaderValuesAsList. - fix: 302 & 307 codes handling.
-
1.1.031 Mar 2025Release notes
Open source →- 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#maxStaleinverted behaviour. - chore: Add more comments.
- chore: Add more tests & fix some.
-
1.0.229 Mar 2025Release notes
Open source →- fix: Enforce
CacheKeyBuilderheaders as map ofStringvalues instead ofdynamic.
- fix: Enforce
-
1.0.128 Mar 2025Release notes
Open source →- chore: Add writeContent to CacheResponse.
- fix:
CacheOptions#maxStaleusage may lead to empty response body. - chore: Allow to read only headers or body.
-
1.0.027 Mar 2025Release notes
Open source →-
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.
-