XF 1.5 Is there a performance hit to having too many usergroups?

Amin Sabet

Well-known member
I have different usergroups for members who want to turn on or off things like:
  • Banner viewing
  • Location/postcount/registration date viewing
  • Image lazy loading
  • Sidebar viewing
  • Ad viewing
Etc etc. Each of those is done through member preferences tied to usergroup promotions.

My sites seem fast enough, still, but is there a performance penalty for having lots of usergroups and using them this way?
 
The potential performance penalty only becomes an issue when permissions are rebuilt. The more user groups and permission combinations you have, the more work that needs to be done. But this all happens at save time, not run time, so at worse it takes you a few seconds longer to save a set of permissions, but it doesn't affect the general running of your site.
 
Top Bottom