Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use the cache #685

Open
Okeanos opened this issue Oct 12, 2024 · 0 comments
Open

How to use the cache #685

Okeanos opened this issue Oct 12, 2024 · 0 comments

Comments

@Okeanos
Copy link

Okeanos commented Oct 12, 2024

Taplo CLI has a --cache-path argument. This is presumably used as a location for caching (downloaded) schema files.

However, neither the help text nor the official documentation offer any further insights.

I would like to know:

  • whether Taplo caches the schema files by default already (and if so, where?)
  • how is the cache (path) supposed to be used? Some issues mention it isn't relevant for e.g. the format command.
  • how is the cache handled internally, is there a time-out/LRU/size-limit logic? Do I manually have to manage the cache to ensure contents are up to date?
  • what is actually cached?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant