Zizaco / entrust

Role-based Permissions for Laravel 5
MIT License
6.05k stars 1.29k forks source link

Does entrust cache user/rol/permision? #895

Open freshface opened 6 years ago

freshface commented 6 years ago

Does entrust cache his queries? A lot of people have an error "This cache store does not support targging" So I was wondering does entrust cache and how?

enniosousa commented 6 years ago

Same problem here. I'm using file cache.

Nimoi commented 5 years ago

@freshface I hope someone corrects me if I'm wrong, but it seems three years ago they decided to update to only support Taggable caches, which excludes File and Database cache types: https://github.com/Zizaco/entrust/commit/87d407eac78309302d5305bd20fd05655b6ea701

I'm not sure if it would be practical to try to fork it and remove that. I need to deal with this too, so I might just try out memcached.