cerbos icon indicating copy to clipboard operation
cerbos copied to clipboard

Ability to evict a specific policy set from the cache

Open charithe opened this issue 1 year ago • 1 comments

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 avatar Jun 22 '23 17:06 charithe

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)

charithe avatar Aug 15 '23 14:08 charithe