mirror of
https://github.com/moodle/moodle.git
synced 2025-08-09 10:56:56 +02:00
MDL-55231 core_course: Partial course cache rebuild
This commit is contained in:
parent
e5894c0455
commit
9a900492bc
15 changed files with 406 additions and 177 deletions
|
@ -221,8 +221,16 @@ $definitions = array(
|
|||
'simplekeys' => true,
|
||||
'ttl' => 3600,
|
||||
),
|
||||
// Accumulated information about course modules and sections used to print course view page (user-independed).
|
||||
// Used in function get_fast_modinfo(), reset in function rebuild_course_cache().
|
||||
// Accumulated information about course modules and sections used to print course view page (user-independent).
|
||||
// Used in functions:
|
||||
// - course_modinfo::build_course_section_cache()
|
||||
// - course_modinfo::inner_build_course_cache()
|
||||
// - get_array_of_activities()
|
||||
// Reset/update in functions:
|
||||
// - rebuild_course_cache()
|
||||
// - course_purge_module_cache()
|
||||
// - course_purge_section_cache()
|
||||
// - remove_course_contents().
|
||||
'coursemodinfo' => array(
|
||||
'mode' => cache_store::MODE_APPLICATION,
|
||||
'simplekeys' => true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue