Project

General

Profile

Actions

Feature proposal #5236

closed

User and CmsUser missing caching

Added by krileon about 9 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
Target version:
Start date:
17 April 2015
Due date:
% Done:

100%

Estimated time:

Description

The various utility functions of User and CmsUser like isAuthorizedToPerformActionOnAsset and isGlobalModerator desperately need caching. These could easily be called 100 times in 1 page load with 80% of them being duplicates. Without caching you end up with a massive amount of duplicate queries being made for simple permissions or moderator checks that should cache their results in at the very least a static variable.

Actions #1

Updated by krileon about 9 years ago

  • Assignee changed from krileon to beat
Actions #2

Updated by krileon almost 9 years ago

  • Tracker changed from Bug to Feature proposal
Actions #3

Updated by beat almost 9 years ago

  • Target version changed from CB 2.0.8 to CB 2.0.9
Actions #4

Updated by beat almost 9 years ago

  • Target version changed from CB 2.0.9 to CB 2.0.10
Actions #5

Updated by beat almost 9 years ago

  • Target version changed from CB 2.0.10 to CB 2.0.11
Actions #6

Updated by beat over 8 years ago

  • Target version changed from CB 2.0.11 to CB 2.0.12
Actions #7

Updated by beat over 8 years ago

  • Target version changed from CB 2.0.12 to CB 2.0.13
Actions #8

Updated by beat about 8 years ago

  • Target version changed from CB 2.0.13 to CB 2.0.14
Actions #9

Updated by beat about 8 years ago

  • Target version changed from CB 2.0.14 to CB 2.0.15
Actions #10

Updated by beat over 7 years ago

  • Target version changed from CB 2.0.15 to CB 2.1
Actions #11

Updated by krileon over 7 years ago

  • Status changed from Assigned to Closed
  • Assignee changed from beat to krileon
  • Target version changed from CB 2.1 to CB 2.0.15
  • % Done changed from 0 to 100

This was implemented in MR !1056 for 2.0.15.

Actions

Also available in: Atom PDF