Skip to content

s5-dev/cached_s5_manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a simple cache manager for cached_s5 libraries.

Usage

This is a library built on s5. See there for more details.

Basic Usage:

CachedS5Manager cacheManager = CachedS5Manager(s5: s5);
final Uint8List bytes = await cacheManager.getBytesFromCID("CID String"); // fetches & caches
cacheManager.clear(); // WARNING: this deletes all locally cached assets

Acknowledgement

This work is supported by a Sia Foundation grant

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages