Overview
A highly configurable cache manager for Flutter that stores HTTP GET requests in the device's file system. It enables efficient caching of network responses, reducing redundant requests and improving app performance. Designed for use with HTTP clients like dio or http, it supports custom expiration policies, cache size limits, and file system management. The package is lightweight and integrates seamlessly into Flutter apps, making it ideal for offline-first applications or content-heavy apps requiring fast data retrieval.
Use cases
- Caching API responses for offline access
- Improving load times for frequently accessed data
- Reducing bandwidth usage in mobile apps
- Storing images and assets locally
- Enabling offline functionality in web and mobile apps
Key features
- Configurable cache expiration
- Customizable cache size limits
- File system-based storage
- Supports HTTP GET request caching
- Easy integration with existing HTTP clients
Suitable for
- Apps needing persistent data caching
- Offline-capable applications
- Performance optimization for network-heavy apps
- Developers seeking fine-grained cache control
- Projects using HTTP clients like dio or http
Considerations
- Does not cache POST/PUT requests
- Requires manual cleanup for large caches
- Limited to GET requests only
- No built-in cache invalidation strategies
- File system permissions may be required on some platforms