cache_manager_plus 1.1.0 copy "cache_manager_plus: ^1.1.0" to clipboard
cache_manager_plus: ^1.1.0 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
160
points
44
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

Documentation

API reference

License

MIT (license)

More

Packages that depend on cache_manager_plus