-
Bug
-
Resolution: Fixed
-
Blocker
-
2.4.6, 2.5.1, 2.6
-
MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE
-
MOODLE_24_STABLE, MOODLE_25_STABLE
-
40903-26
-
Presently setting the persistent cache option has two effects:
- The cache instance is held onto and future requests for it get given the original instance.
- Information passing through the cache is held onto in a static var for performance serving of subsequent requests.
It's become apparent that really we need two options here.
For example Fred's changes on MDL-13114.
It makes no sense to use the static var for request caches - and doing so adds both processing and memory overhead.
This change needs to be made and immediately applied to MDL-13114