FLUTTER ECOSYSTEM

cache_manager

Cache manager to store local cache. Cache manager is wrapper for storing various data type(JSON, String, int etc) as the local cache in your Flutter app.

Latest version
1.0.0+4
30-day downloads
0
Likes
48
Pub points
140

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Overview

Cache Manager is a Flutter package designed to simplify local caching of various data types such as JSON, strings, and integers. It provides an easy-to-use wrapper for storing and retrieving cached data across multiple platforms including Android, iOS, Web, macOS, Windows, and Linux. The package handles file storage efficiently, supports cache expiration, and integrates seamlessly into Flutter applications to improve performance by reducing redundant network requests. It's ideal for managing temporary or frequently accessed data.

Use cases
  • Caching API responses
  • Storing user preferences locally
  • Persisting images and media files
  • Reducing network load on repeated requests
  • Managing offline data access
Key features
  • Supports multiple data types
  • Cross-platform compatibility
  • Automatic cache expiration
  • Simple API for read/write operations
  • Built-in file system integration
Suitable for
  • Apps with frequent network calls
  • Offline-first applications
  • Media-heavy apps
  • Data-intensive Flutter projects
  • Developers seeking lightweight caching
Considerations
  • Requires manual cache cleanup for large datasets
  • Limited advanced cache policies
  • No built-in encryption for sensitive data
  • Depends on file system permissions on some platforms
  • Not optimized for very high-frequency cache updates
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add cache_manager

Categories

Dependencies

Dependency list 1 items

Source repository

Related projects

No data available yet.