Dart/Flutter Cache Libraries
Cache libraries for Dart/Flutter
GitHub Star Comparison
| No | Name | GitHub Stars | Description | Trend | License | Type | Official Site |
|---|---|---|---|---|---|---|---|
| 1 | cached_network_image | - | Network image cache library for Flutter. Supports placeholder and error widgets, optimizing image loading and caching | Reigns as absolute standard for Flutter image caching in 2025. Essential library position in mobile app development | MIT | Flutter Image Cache | Official |
| 2 | flutter_cache_manager | - | Generic file cache manager for Flutter. Device storage saving and cache info management using SQLite | Growing as standard choice for Flutter generic caching in 2025. Widely adopted in apps requiring file caching | MIT | File Cache Manager | Official |
| 3 | Hive | - | Fast NoSQL database for Dart/Flutter. Optimized for in-memory with fast read/write performance, suitable for both caching and data persistence | Growing as leading choice for Flutter large-capacity caching in 2025. Popular for balancing persistence and performance | Apache-2.0 | NoSQL Database | Official |
| 4 | shared_preferences | - | Standard lightweight data persistence library for Flutter. Optimal for small-scale caching of settings and API responses | Continued use as foundational technology in Flutter development in 2025. Important position for simple caching requirements | BSD-3-Clause | Preferences | Official |
| 5 | cached | - | Annotation-based cache library for Dart. Builds flexible caching mechanisms with external storage support through code generation | Rising attention as next-generation cache library in 2025. Development productivity improvement through annotation-based approach | MIT | Code Generation Cache | Official |
| 6 | dio_cache_interceptor | - | Cache interceptor for Dio HTTP client. Automatic HTTP response caching with Cache-Control header support | Important choice for Flutter apps using Dio in 2025. Achieves performance improvement through HTTP caching strategies | MIT | HTTP Interceptor | Official |