FLUTTER ECOSYSTEM

neat_cache

A neat cache abstraction for wrapping in-memory or redis caches.

Latest version
2.0.5
30-day downloads
11.5K
Likes
28
Pub points
160

Package Overview

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

Overview

Neat Cache is a clean, abstraction layer for managing in-memory and Redis-based caching in Dart applications. It provides a consistent interface to interact with different cache backends, simplifying the implementation of efficient data storage and retrieval. Designed for simplicity and performance, it supports common operations like get, put, and remove, while abstracting underlying complexities. Ideal for apps needing fast access to frequently used data across multiple platforms.

Use cases
  • Caching API responses
  • Storing user session data
  • Reducing redundant database queries
  • Improving app startup speed
  • Managing temporary application state
Key features
  • Unified interface for in-memory and Redis caches
  • Simple get/put/remove operations
  • Cross-platform compatibility
  • Lightweight and easy to integrate
  • Supports expiration and eviction policies
Suitable for
  • Developers building scalable Flutter apps
  • Teams using Redis in backend services
  • Applications requiring fast local data access
  • Projects prioritizing clean code architecture
  • Backend-integrated mobile or desktop apps
Considerations
  • Requires setup of Redis if using remote caching
  • Limited to supported platforms (Android, iOS, macOS, Windows, Linux)
  • Not suitable for large-scale persistent storage
  • Depends on external Redis server for distributed use
  • May need additional configuration for advanced cache strategies
Supported platformsAndroidiOSmacOSWindowsLinux

Install package

flutter pub add neat_cache

Categories

Dependencies

Dependency list 5 items

Source repository

Related projects

No data available yet.