mcache_dart 0.1.10 copy "mcache_dart: ^0.1.10" to clipboard
mcache_dart: ^0.1.10 copied to clipboard

In-memory cache for Dart with LRU eviction, absolute/sliding/change-token expiration, priority eviction, byte-size limits, and anti-stampede GetOrCreate.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add mcache_dart

With Flutter:

 $ flutter pub add mcache_dart

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  mcache_dart: ^0.1.10

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:mcache_dart/mcache_dart.dart';
0
likes
160
points
153
downloads

Documentation

API reference

Publisher

verified publisherpurplesoft.io

Weekly Downloads

In-memory cache for Dart with LRU eviction, absolute/sliding/change-token expiration, priority eviction, byte-size limits, and anti-stampede GetOrCreate.

Repository (GitHub)
View/report issues

Topics

#cache #caching #memory #lru #flutter

License

AGPL-3.0 (license)

Dependencies

meta

More

Packages that depend on mcache_dart