This is an old revision of the document!
Configuration Setting: readdircache
When this value is set to a different value than
0 while searching the wiki not the whole index directory is read every time but only if the cache is older than the configured number of seconds. This is a special feature for large wikis where reading the whole directory might be a time consuming operation. If the cache is really needed depends on the system and also the file system that is used.
Each search on the wiki reads the whole index directory. Scanning the index directory each time is time consuming with a constant series of disk access. When this cache is used a normal search only uses file_exists 1 or more times, and not readdir all the directory. The wildcard search uses the cache file for getting all used word lengths if it is enabled.
- Type: Number