flutter_http_cache library

Support for doing something awesome.

More dartdocs go here.

Classes

CacheConfig
Configuration for the HTTP cache
CachedHttpClient
HTTP client with built-in caching
CachedResponse
Represents a cached response
CacheEntry
Represents a cached HTTP response with metadata Implements HTTP caching: - Storing Responses in Caches
CacheStorage
Abstract interface for cache storage backends Implementations can be in-memory, disk-based, or combined
DioHttpCacheInterceptor
Dio interceptor for HTTP caching
HttpCache
Main HTTP cache implementation HTTP caching standard compliant caching for HTTP requests and responses
HttpCacheRequest
Represents an HTTP request for caching purposes Simplifies the Core Cache API by encapsulating request data
HttpCacheResponse
Represents an HTTP response for caching purposes Simplifies the Core Cache API by encapsulating response data

Enums

CachePolicy
Cache policy for individual requests
CacheType
Cache type: private (single-user) or shared (multi-user) Affects handling of certain directives like 'private' and 's-maxage'
EvictionStrategy
Eviction strategy for when cache reaches size limits
HttpClientType
Specifies which HTTP client implementation to use for network requests.