Caching(Moodle)

Caching(Moodle)

Default three cache store instances #

  1. A file store instance which gets used for all application caches. It stores its data in your moodledata directory.
  2. A session store instance which gets used for all session caches. It stores its data in the PHP session, which, by default, is stored in your database.
  3. A static memory store instance which gets used for all request cache types. Data exists in memory for just the lifetime of a request.

Developers can’t choose which cache backend to use; they can only choose the type of cache they want from the three detailed above.

From #