cache_manager_plus 1.0.1 copy "cache_manager_plus: ^1.0.1" to clipboard
cache_manager_plus: ^1.0.1 copied to clipboard

A Dart package for managing cache with support for multiple storage backends.

example/example.dart

import 'package:cache_manager_plus/cache_manager_plus.dart';

void main() async {
  await CacheManager.init(store: InMemoryCacheStore());

  CacheManager.instance.set(CacheItem.ephemeral(key: 'k', data: 'Hello world'));

  print((await CacheManager.instance.get('k'))?.data);
}
2
likes
0
points
77
downloads

Publisher

unverified uploader

Weekly Downloads

A Dart package for managing cache with support for multiple storage backends.

Repository (GitHub)
View/report issues

Topics

#caching #cache #backend #cache-management #data-management

License

unknown (license)

More

Packages that depend on cache_manager_plus