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

Missing cache support #45

Closed
GopherJ opened this issue Jan 21, 2020 · 1 comment
Closed

Missing cache support #45

GopherJ opened this issue Jan 21, 2020 · 1 comment
Assignees

Comments

@GopherJ
Copy link
Member

GopherJ commented Jan 21, 2020

casbin doesn't have cache support, but it'll be good to have it, especially for realtime applications.

@GopherJ GopherJ changed the title cache support Missing cache support Jan 21, 2020
@xcaptain xcaptain mentioned this issue Jan 21, 2020
24 tasks
@GopherJ
Copy link
Member Author

GopherJ commented Feb 4, 2020

I'll close this because it's implemented in #50, a CachedEnforcer has been added with the following features:

  1. TTL
  2. Max cached items
  3. Clear cache while changing policies

@GopherJ GopherJ closed this as completed Feb 4, 2020
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

2 participants