mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-40759 fontawesome: Use a cache
Cache the callback info.
This commit is contained in:
parent
2154c9824d
commit
7e8940b544
4 changed files with 26 additions and 8 deletions
|
@ -309,4 +309,14 @@ $definitions = array(
|
|||
'simplevalues' => true,
|
||||
'datasource' => '\core_message\time_last_message_between_users',
|
||||
),
|
||||
|
||||
// Caches font awesome icons.
|
||||
'fontawesomeiconmapping' => array(
|
||||
'mode' => cache_store::MODE_APPLICATION,
|
||||
'simplekeys' => true,
|
||||
'simpledata' => true,
|
||||
'staticacceleration' => true,
|
||||
'staticaccelerationsize' => 1
|
||||
),
|
||||
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue