MDL-66667 course: add course image cache

This commit is contained in:
Dmitrii Metelkin
2021-03-15 12:50:35 +11:00
parent fc335f5ea0
commit 2affc87d2b
8 changed files with 371 additions and 15 deletions
+9
View File
@@ -484,4 +484,13 @@ $definitions = array(
'staticacceleration' => true,
'staticaccelerationsize' => 100
],
// Course image cache.
'course_image' => [
'mode' => cache_store::MODE_APPLICATION,
'simplekeys' => true,
'simpledata' => true,
'staticacceleration' => true,
'datasource' => '\core_course\cache\course_image',
],
);