aero_cache
A high-performance HTTP caching library for Dart/Flutter with zstd compression, ETag/Last-Modified revalidation, and full Cache-Control directive support for mobile applications.
1.0.1
nikaera/aero_cache
What this package is like to depend on
Last release 1 years ago
12 Jul 2025
Too new to tell
only 1 release windows
Nearly every release is documented
notes for 3 of 3 stable releases
Nothing withdrawn
no release was ever pulled
1 years old
3 releases · first in 2025
0 releases in the last 12 months
see the full history below
Release timeline
3 releases · Jul 2025 to Jul 2025Releases
latest 3-
1.0.112 Jul 2025Release notes
Open source →What's Changed
- feat: Remove plan.md as all tasks for Vary header support have been c… by @nikaera in #1
- chore: add dependabot.yml by @nikaera in #3
- docs: fix for project-ci by @nikaera in #2
- chore(deps): bump flutter_lints from 5.0.0 to 6.0.0 by @dependabot[bot] in #4
- chore: update description in pubspec.yaml for clarity by @nikaera in #5
- chore: remove 'image' and 'video' topics from pubspec.yaml by @nikaera in #6
- chore: update aero_cache dependency version to ^1.0.0 in README.md by @nikaera in #7
- chore(ci): deploy api document by @nikaera in #8
- chore: remove Java installation step from CI and deployment workflows by @nikaera in #9
- chore: add and update documentations and refactoring by @nikaera in #10
- feat: implement download queue with concurrency limits in AeroCache by @nikaera in #11
- chore: update version to 1.0.1 and enhance CHANGELOG with new feature… by @nikaera in #12
- fix: update aero_cache version to 1.0.1 in pubspec.lock by @nikaera in #13
New Contributors
- @nikaera made their first contribution in #1
- @dependabot[bot] made their first contribution in #4
Full Changelog: https://github.com/nikaera/aero_cache/commits/v1.0.1
Release notes
Open source →Features
- Download Queue with Concurrency Limits: Implemented queue-based download management with configurable concurrency limits to improve performance and prevent overwhelming network resources
- Enhanced Exception Handling: Added Flutter & Dart development best practices documentation and improved cache management exception handling
Improvements
- Better Error Logging: Replaced print statements with proper log calls for download error handling in AeroCache
- Documentation Updates: Fixed documentation URL in pubspec.yaml and updated example README license statement
- Code Quality: Improved code formatting and readability across the codebase
- CI/CD Enhancements: Added automated API documentation deployment and optimized workflow configurations
- Package Metadata: Cleaned up pubspec.yaml by removing irrelevant topics for better package discoverability
Technical Changes
- Enhanced test utilities with better mock setup and configuration
- Improved cache management with better error handling
- Updated CI workflows to remove unnecessary Java installation steps
- Added comprehensive development best practices documentation
-
1.0.011 Jul 2025Release notes
Open source →Initial Release 🎉
- Core Features
- High-performance caching for Dart/Flutter with zstd compression
- ETag and Last-Modified based cache revalidation
- Progress callback for downloads
- Unified error handling with AeroCacheException
- Automatic expired cache cleanup
- Customizable cache directory and compression settings
- API for retrieving cache metadata
Advanced Caching Features
-
Vary Header Support
- Intelligent cache key generation based on Vary header specifications
- Support for request header-aware caching (Accept-Language, User-Agent, etc.)
- Proper handling of Vary: * header to prevent caching when appropriate
- Cache hit/miss scenarios based on varying request headers
-
Cache Control Directives
- Support for no-cache, no-store, must-revalidate directives
- Implementation of max-age, max-stale, min-fresh request directives
- only-if-cached directive support
- stale-while-revalidate and stale-if-error background cache strategies
-
Advanced Cache Management
- Background cache revalidation for stale-while-revalidate scenarios
- Stale data serving on network errors (stale-if-error)
- Comprehensive cache expiration calculation with Cache-Control headers
- Priority-based Cache-Control directive handling
Technical Improvements
-
Architecture
- Modular storage system with dedicated services
- Separate cache key generation service for Vary-aware caching
- Enhanced file management with metadata and data separation
- Improved error handling and exception management
-
Testing & Quality
- Comprehensive test suite with mock headers and cache manager setup
- Test coverage for all Vary header scenarios
- Cache-Control directive validation tests
- Edge case handling for malformed headers
Development Tools
- Code Quality
- Test setup helper for consistent mock initialization
- Clean separation of concerns in cache management
- Improved code readability and documentation
- Following TDD principles throughout development
Examples & Documentation
- Flutter integration example included
- Comprehensive API documentation
- Usage examples for advanced caching scenarios
- Vary header handling examples
- Core Features
-
1.0.0+111 Jul 2025Release notes
Open source →- Improved documentation and clarified package description in pubspec.yaml
- Updated dependency versions for better compatibility
- Added dependabot configuration for automated dependency updates
- Minor CI and documentation improvements