Pinning a file without keeping it in local storage

It would be kind of cool if you could register an arbitrary, deterministic function rather than just a url. functionstore? Then you could trade off storage/cpu. cid => imageResize(400, 600, some_other_cid). That way you could GC it and just recompute it if you need it. Kinda like memoizing with IPFS. URLStore functionality would be a subset with something like cid => UrlGet(some_url)

1 Like