Apr 8, 2023
0
Level 40
Spatie Laravel -permissions is not caching Roles & Permissions
In my app I am using Spatie Laravel-permissions ( https://spatie.be/docs/laravel-permission/v5/introduction). For apps caching I'm using Memcached. In Spatie docs it says that Roles and Permissions are cached by default. But, in debuger I see Role and Permissions query on every page load. Do I need to do some additional configuration so it strts caching the Roles and Perms? Here is screenshot of query view in debuger: https://prnt.sc/NYDvyppL3wjA
Please or to participate in this conversation.