
\begin{DoxyItemize}
\item infos = Information about the cache plugin is in keys below
\item infos/author = Mihael Pranjić \href{mailto:mpranj@limun.org}{\texttt{ mpranj@limun.\+org}}
\item infos/licence = BSD
\item infos/needs =
\item infos/provides =
\item infos/recommends =
\item infos/placements = pregetcache postgetcache
\item infos/status = experimental
\item infos/metadata =
\item infos/description = caches keysets from previous {\ttfamily \mbox{\hyperlink{group__kdb_ga28e385fd9cb7ccfe0b2f1ed2f62453a1}{kdb\+Get()}}} calls
\end{DoxyItemize}\hypertarget{md_src_plugins_cache_README_src_plugins_cache_README_md}{}\doxysection{Introduction}\label{md_src_plugins_cache_README_src_plugins_cache_README_md}
This caching plugin stores keysets from previous {\ttfamily \mbox{\hyperlink{group__kdb_ga28e385fd9cb7ccfe0b2f1ed2f62453a1}{kdb\+Get()}}} calls to improve performance when reading configuration files.\hypertarget{md_src_plugins_cache_README_autotoc_md79}{}\doxysection{Usage}\label{md_src_plugins_cache_README_autotoc_md79}
The cache plugin is compiled and enabled on compatible systems by default. No actions are needed to enable it.\hypertarget{md_src_plugins_cache_README_autotoc_md80}{}\doxysection{Dependencies}\label{md_src_plugins_cache_README_autotoc_md80}
POSIX compliant system (including XSI extensions). The plugin is only compiled if the plugins {\ttfamily resolver} and {\ttfamily mmapstorage} are also available.\hypertarget{md_src_plugins_cache_README_autotoc_md81}{}\doxysection{Location of Cache}\label{md_src_plugins_cache_README_autotoc_md81}
The cache files are located in the user\textquotesingle{}s home directory below {\ttfamily $\sim$/.cache/elektra/} and shall not be altered, otherwise the behavior is undefined. If {\ttfamily XDG\+\_\+\+CACHE\+\_\+\+HOME} is set, the cache files are located below {\ttfamily \$\+XDG\+\_\+\+CACHE\+\_\+\+HOME/elektra}.\hypertarget{md_src_plugins_cache_README_autotoc_md82}{}\doxysection{Configuration of Cache}\label{md_src_plugins_cache_README_autotoc_md82}
Use the tool {\ttfamily kdb cache} to enable, disable or clear the cache.\hypertarget{md_src_plugins_cache_README_autotoc_md83}{}\doxysection{Limitations}\label{md_src_plugins_cache_README_autotoc_md83}
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 {\ttfamily ini} plugin (see issue \#2592). 