cache_browse | R Documentation |
Most boards maintain a local cache so that if you're reading a pin that hasn't changed since the last time you read it, it can be rapidly retrieved from a local cache. These functions help you manage that cache.
cache_browse()
: open the cache directory for interactive exploration.
cache_info()
: report how much disk space each board's cache uses.
cache_prune()
: delete pin versions that you haven't used for days
(you'll be asked to confirm before the deletion happens).
In general, there's no real harm to deleting the cached pins, as they'll
be re-downloaded as needed. The one exception is legacy_local()
which
mistakenly stored its pinned data in the cache directory; do not touch
this directory.
cache_browse()
cache_info()
cache_prune(days = 30)
days |
Number of days to preserve cached data; any pin versions
older than |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.