filecoin-project / orient

↻Observe-Orient-Decide-Act↩
MIT License
18 stars 6 forks source link

Add Disk cache #56

Closed porcuquine closed 4 years ago

porcuquine commented 4 years ago

Add CACHE types:

If ORIENT_CACHE_DIR is set, the named directory is used for DISK-BACKED-MEM-CACHE cache files when invoking from CLI (including web option). Otherwise, MEM-CACHE is used.

The cache key depends on both system and input, but does not normalize these for order.

TODO: