Actions
Feature proposal #5236
closedUser and CmsUser missing caching
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 9 years ago
- Tracker changed from Bug to Feature proposal
Updated by beat over 9 years ago
- Target version changed from CB 2.0.8 to CB 2.0.9
Updated by beat over 9 years ago
- Target version changed from CB 2.0.9 to CB 2.0.10
Updated by beat over 9 years ago
- Target version changed from CB 2.0.10 to CB 2.0.11
Updated by beat about 9 years ago
- Target version changed from CB 2.0.11 to CB 2.0.12
Updated by beat about 9 years ago
- Target version changed from CB 2.0.12 to CB 2.0.13
Updated by beat almost 9 years ago
- Target version changed from CB 2.0.13 to CB 2.0.14
Updated by beat over 8 years ago
- Target version changed from CB 2.0.14 to CB 2.0.15
Updated by beat over 8 years ago
- Target version changed from CB 2.0.15 to CB 2.1
Updated by krileon about 8 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