Skip to content
  • Marina Glancy's avatar
    MDL-38147 Improvements to caching of course categories, coursecat::get_children() improvements · eabbfa82
    Marina Glancy authored
    - 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
    eabbfa82