You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Delete cached items if they weren't used during the last run, and their TTL hasn't ran out
TTL - users may revert back to older versions while they're editing, but it seems unlikely such a thing would happen after some period of development, when the user would focus on other parts of the document. Old development versions of these files may be removed again.
Default .spacedoc/cache directory should probably be in the directory currently being ran from
Configurability:
Whether to actually use cache at all
Default cache directory
Whether to ever delete cache items for unused files
Caching would significantly speed up regeneration of documents with many figures, as the figures would be reused between runs.
Goals:
Implementation ideas:
${hash of absolute path}_${hash of figure source code}.cachein the cache directory${hash of figure source code}.cacheonly${hash of figure source code}during a render.spacedoc/cachedirectory should probably be in the directory currently being ran from