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

A command to clear cache manually like the built-in JSON? #737

Open
ngdangtu-vn opened this issue Jan 24, 2025 · 2 comments
Open

A command to clear cache manually like the built-in JSON? #737

ngdangtu-vn opened this issue Jan 24, 2025 · 2 comments

Comments

@ngdangtu-vn
Copy link

Image

I work on astro content loader and constantly need update the json schema, waiting for cache dies out is wearing me down. I try to set the cache memory and cache lifetime but it breaks all over the place. Can I have a command to clear cache manually? I tried the JSON command but it seems that this plugin doesn't share cache with JSON :?

@ngdangtu-vn
Copy link
Author

There is a few cache directories in code global config, but I'm not sure which one is taplo cache :?

@ngdangtu-vn
Copy link
Author

For now I will be compromised with this option "evenBetterToml.schema.cache.diskExpiration": 5, and it doesn't feel good at all (waiting for whole 5 seconds o.O?)

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