[AMOS commit] MDL-38147 Improvements to caching of course categories, coursecat::get_children() improvements Committed into Git: 2013-02-28 01:29 UTC

[AMOS commit] MDL-38147 Improvements to caching of course categories, coursecat::get_children() improvements Committed into Git: 2013-02-28 01:29 UTC

by AMOS bot -
Number of replies: 0
Author: Marina Glancy
MDL-38147 Improvements to caching of course categories, coursecat::get_children() improvements
- Course categories caches are purged by event now
- session cache has additional 10 minutes ttl to clear itself and accomodate for permission changes that do not trigger event purging
- additional request-level cache for coursecat::get()
- We store only children of one category in one cache key
- Function coursecat::get_children() can return results sorted and/or paginated. Added tests


http://git.moodle.org/gw?p=moodle.git;a=commit;h=eabbfa82d3ba42c6c55d59af98a2cfb6a1c1b0c4
http://github.com/moodle/moodle/commit/eabbfa82d3ba42c6c55d59af98a2cfb6a1c1b0c4

+ 2.5 en [cachedef_coursecat,core_cache]
+ 2.5 en [cachedef_coursecatrecords,core_cache]
+ 2.5 en [cachedef_coursecattree,core_cache]