cerbos
cerbos copied to clipboard
Ability to evict a specific policy set from the cache
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.
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
)