http_client_cache 1.0.2
http_client_cache: ^1.0.2 copied to clipboard
Dart package that seamlessly adds HTTP traffic caching to improve performance and reduce network load in Dart and Flutter applications.
1.0.2 #
Improvements #
- π Enhanced Logger Messages: Made all cache logging messages consistent, developer-friendly, and informative
- π Added Request URLs: All logger messages now include the request URL for better debugging context
- π― Consistent Message Style: Unified tone and format across all cache-related log messages
Logger Message Examples #
Cache hit for https://api.example.com/dataCache miss for https://api.example.com/dataCache entry expired for https://api.example.com/dataSkipping cache for private response: https://api.example.com/dataSkipping cache due to no-store directive: https://api.example.com/dataSkipping cache due to Vary: * header: https://api.example.com/data
Technical Improvements #
- π οΈ Better Debugging Experience: Easier to track cache behavior per URL
- π Improved Error Context: Cache write failures now include request URLs
- π¨ Cleaner Message Format: Removed redundant text and improved readability
1.0.1 #
- add
noCacheandnoStoreboolean parameters toCacheControlfactory constructors to preserve important cache directives when transforming response headers - update libs and protobuf Dart files
1.0.0 #
- Initial version.