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

Ability to evict a specific policy set from the cache #1664

Open
charithe opened this issue Jun 22, 2023 · 1 comment
Open

Ability to evict a specific policy set from the cache #1664

charithe opened this issue Jun 22, 2023 · 1 comment

Comments

@charithe
Copy link
Contributor

The StoreReload RPC clears the entire compile cache. We could add optional arguments to it to limit the set of policies that it would evict.

@charithe
Copy link
Contributor Author

I think this would require introducing a new Admin API endpoint to:

  • Clear the entire compile cache (DELETE /admin/cache?type=compile)
  • Clear specific entries from the cache (DELETE /admin/cache?type=compile&id=resource.x.v1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant