mineral_cache 1.0.0-dev.3 copy "mineral_cache: ^1.0.0-dev.3" to clipboard
mineral_cache: ^1.0.0-dev.3 copied to clipboard

Cache for the Mineral framework.

Cache #

The cache package provides a straightforward and effective solution for cache management in Mineral applications. By externalizing application consumption, it helps improve performance and optimize resources, thus offering a better user experience.

icons technologies

Introduction #

Caching plays a crucial role in many applications by offering a temporary and decoupled storage solution from the core of the project. It helps optimize performance by reducing response times and limiting calls to external resources such as databases or APIs.

Features #

  • In-Memory Cache : Stores data directly in memory, providing fast response times for accessing data already loaded into the cache.
  • Redis Cache : Utilizes Redis as a caching storage system, enabling distributed caching and persistence of data across application restarts. Installation

To use this package, simply add cache to your pubspec.yaml file:

dependencies:
  mineral_cache: ^1.0.0

Then, run dart pub get to download and install the package.

Usage #

The cache can be used by importing the appropriate cache implementation, such as memory provider or redis provider. Detailed usage instructions can be found in the package documentation.

0
likes
130
points
76
downloads

Publisher

verified publishermineral-foundation.org

Weekly Downloads

Cache for the Mineral framework.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

mineral, redis

More

Packages that depend on mineral_cache