mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
TEXT CACHING
------------ I have a site which really needs this, so I went ahead with it already. This add-on will cache formatted texts in the database and use them for a specified timeperiod. By default it is disabled. Enable it with: $CFG->cachetext = 600; // in seconds
This commit is contained in:
parent
6579224b6a
commit
d363047eb0
6 changed files with 53 additions and 1 deletions
|
@ -154,6 +154,14 @@ $CFG->admin = 'admin';
|
|||
// Prevent scheduled backups from operating (and hide the GUI for them)
|
||||
// Useful for webhost operators who have alternate methods of backups
|
||||
// $CFG->disablescheduledbackups = true;
|
||||
//
|
||||
// On busy sites that use filters (such as the glossary autolinking) this
|
||||
// may help - it specifies time in seconds to keep copies of formatted texts.
|
||||
// $CFG->cachetext = 600;
|
||||
// It has some disadvantages:
|
||||
// 1) Texts will take this long to regenerate, so changes to the glossary
|
||||
// will not be evident immediately.
|
||||
// 2) It won't work with filters that use user settings eg: multilang
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue