Hi,
We have recently discovered the use of Roles, and we like the benefits it provides. However, we are finding that assets with roles applied to them take ages to load up in preview mode, and in "_nocache" mode. In some instances, where pages are not cached yet on the front-end, pages take a long time to load. We've been informed that it should take 5-8 seconds extra to load as there is an extra query being run on these assets, but in our case it seems to be taking far longer.
This is a little disheartening, because it has let us to think twice about using roles. Has anyone else out there been using roles without a problem?
Any suggestions on what can be done to speed this up, or are there future versions of Matrix which resolve this issue. We are using 3.14.0.
Two questions: are you using LDAP users, and how are you assigning your roles? (eg. are you using "Global" roles?)
Hi, to answer your questions
- LDAP users were used
- We used a specific user group and they were set as global users at each role
Effective permissions based on global role assignments is one the most performance-intenstive things for Matrix to calculate. On a large site, we usually recommend not using global role assignments and rather applying roles on a per-site or per-subsite basis, using the Roles screen of a Site asset.