You can use the following APIs to manage cache and cache group.
Note
LoadOne, LoadGroup and LoadAll can work no matter the caches are stored in the file or in the database; the other APIs can only work when the caches are stored in the database. See Storing database connections in the database for how to store the database connections in a database (instead of the default file).
Syntax |
Description |
---|---|
Loads the configuration of a cache. |
|
Loads the configuration of all caches in a cache group. |
|
Loads the configuration of all caches in all cache groups. |
|
Adds a cache and configuration. |
|
Removes a cache and configuration. |
|
Adds a cache group by copying from another cache group. |
|
Removes a cache group (and all caches in it). |
|
Adds more than one cache at a time. |
|
Edits a cache. |