vault_cache 0.1.2 copy "vault_cache: ^0.1.2" to clipboard
vault_cache: ^0.1.2 copied to clipboard

A pure Dart cache library with multi-layer storage, stale-while-revalidate, tag-based invalidation, and swappable storage adapters. Zero Flutter dependencies.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add vault_cache

With Flutter:

 $ flutter pub add vault_cache

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

dependencies:
  vault_cache: ^0.1.2

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:vault_cache/vault_cache.dart';
3
likes
160
points
114
downloads

Publisher

verified publisherdspano.dev

Weekly Downloads

A pure Dart cache library with multi-layer storage, stale-while-revalidate, tag-based invalidation, and swappable storage adapters. Zero Flutter dependencies.

Repository (GitHub)
View/report issues

Topics

#cache #storage #dart

Documentation

API reference

License

MIT (license)

More

Packages that depend on vault_cache