Cache build wildcard index #2845
gisostallenberg
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Calculating the wildcard index requires all permissions to be pulled and in our profiling turns up to be slow.
I think the result of
\Spatie\Permission\WildcardPermission::getIndex
can be cached though.If so, I'm happy to provide a PR.
Beta Was this translation helpful? Give feedback.
All reactions