Default three cache store instances #
- A file store instance which gets used for all application caches. It stores its data in your moodledata directory.
- 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.
- 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.