Project

General

Profile

Actions

Feature proposal #5236

closed

User and CmsUser missing caching

Feature proposal #5236: User and CmsUser missing caching

Added by krileon over 10 years ago. Updated over 9 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.

Updated by krileon over 10 years ago Actions #1

  • Assignee changed from krileon to beat

Updated by krileon over 10 years ago Actions #2

  • Tracker changed from Bug to Feature proposal

Updated by beat over 10 years ago Actions #3

  • Target version changed from CB 2.0.8 to CB 2.0.9

Updated by beat over 10 years ago Actions #4

  • Target version changed from CB 2.0.9 to CB 2.0.10

Updated by beat over 10 years ago Actions #5

  • Target version changed from CB 2.0.10 to CB 2.0.11

Updated by beat over 10 years ago Actions #6

  • Target version changed from CB 2.0.11 to CB 2.0.12

Updated by beat about 10 years ago Actions #7

  • Target version changed from CB 2.0.12 to CB 2.0.13

Updated by beat almost 10 years ago Actions #8

  • Target version changed from CB 2.0.13 to CB 2.0.14

Updated by beat almost 10 years ago Actions #9

  • Target version changed from CB 2.0.14 to CB 2.0.15

Updated by beat over 9 years ago Actions #10

  • Target version changed from CB 2.0.15 to CB 2.1

Updated by krileon over 9 years ago Actions #11

  • 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: PDF Atom