Elektra  0.9.0
Plugin: cache

This caching plugin stores keysets from previous kdbGet() calls to improve performance when reading configuration files.

Usage

The cache plugin is compiled and enabled on compatible systems by default. No actions are needed to enable it.

Dependencies

POSIX compliant system (including XSI extensions). The plugin is only compiled if the plugins resolver and mmapstorage are also available.

Limitations

Incompatible with storage plugins, which do not always produce the same keyset on any invocation concerning the same configuration file. A notable example here is the ini plugin (see issue #2592).

The cache files are located in the user's home directory below ~/.cache/elektra/ and shall not be altered, otherwise the behavior is undefined.