Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[F] is_moderator is not cached
#1
It seems that moderator permission of each forum is not cached, therefore if a site has 50 forums and subforums, if a user access to index.php, MyBB will do at least 50 queries to obtain is_moderator of that forum. The problem comming from get_moderator_permissions functions and is_moderator function in functions.php. Should we do some caching here?
[Image: vnchannel0.png]

MKP | MKV (EN) | VNC (EN)


Messages In This Thread
[F] is_moderator is not cached - by vnc - 2007-03-06, 12:07 AM
RE: is_moderator is not cached - by vnc - 2007-03-10, 08:01 PM
RE: is_moderator is not cached - by Dennis Tsang - 2007-03-11, 09:07 PM
RE: [F] is_moderator is not cached - by vnc - 2007-04-13, 07:41 PM
RE: [F] is_moderator is not cached - by vnc - 2007-05-17, 09:20 PM
RE: [F] is_moderator is not cached - by vnc - 2007-05-18, 12:11 AM
RE: [F] is_moderator is not cached - by vnc - 2007-05-18, 01:44 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)