Differences

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

Link to this comparison view

cache [2013/02/25 19:06]
LtWorf details on benchmark
cache [2013/02/25 19:12] (current)
LtWorf typo
Line 16: Line 16:
  
 It should be noted that modification time of a directory is updated only when files are created or removed, hence if a file has been modified but already existed, the modification time of the directory will not be updated. It should be noted that modification time of a directory is updated only when files are created or removed, hence if a file has been modified but already existed, the modification time of the directory will not be updated.
-To overcome this problem weborf uses inotify to know when a file is being modified, and invalidate the cache. Since inotify is Linux specific, on other platformscache will be invalidated only upon file creation or deletion. +To overcome this problem weborf uses inotify to know when a file is being modified, and invalidate the cache. Since inotify is Linux specific, on other platforms cache will be invalidated only upon file creation or deletion. 
-The use of inotify can be inhibited by using the --fastcache optionthat will allow a faster startup, a smaller memory footprint at the expense of the possibility of having incorrect results.+The use of inotify can be inhibited by using the --fastcache optionthat will allow a faster startup, a smaller memory footprint at the expense of the possibility of having incorrect results.
  
 In some situations it could be perfectly safe to use the --fastcache option, for example if one wants to list .tar.gz files that are just added or removed but never modified themselves. In some situations it could be perfectly safe to use the --fastcache option, for example if one wants to list .tar.gz files that are just added or removed but never modified themselves.
cache.txt · Last modified: 2013/02/25 19:12 by LtWorf
 
Recent changes RSS feed Valid XHTML 1.0 Valid CSS Driven by DokuWiki