DokuWiki

It's better when it's simple

User Tools

Site Tools


config:readdircache

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

config:readdircache [2010-12-31 17:51] – created Michituxconfig:readdircache [2011-02-25 11:54] (current) 82.241.224.240
Line 1: Line 1:
 ====== Configuration Setting: readdircache ====== ====== 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 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. Each search starts with a listing of this directory to find the index files, scanning the index directory each time is time consuming with a constant series of disk access. 
 + 
 +This special feature when set to a different value than ''0'' register the list of index files in a cache file and read this file instead of the directory. The value indicates the lifetime in seconds of the cache file. This feature is recommended on a large wiki or when you have poor disk access.
  
-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. 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.
  
config/readdircache.1293814283.txt.gz · Last modified: 2010-12-31 17:51 by Michitux

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki