cboettig / contentid

:package: R package for working with Content Identifiers
http://cboettig.github.io/contentid
Other
46 stars 2 forks source link

local cache management #77

Closed cboettig closed 1 year ago

cboettig commented 3 years ago

Using store=TRUE on resolve creates a local cache of a download (default is currently FALSE but maybe should change). If the local store serves primarily as a download cache rather than long-term storage (which is probably a reasonable practice anyway), the package may need to take some steps to manage cache size. One simple thing would be a function that would delete all files older than a given-or-default timestamp once file size exceeds Y.