Changeset 5335:68a9c3e74f9a for doc
- Timestamp:
- 2007-12-11 06:22:44 (12 months ago)
- Branch:
- HEAD
- Files:
-
- 1 modified
-
doc/manual.xml.head (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
doc/manual.xml.head
r5332 r5335 6064 6064 6065 6065 <para> 6066 These are optional which means they're not enabled by default. 6067 Details on how to enable either of these techniques are given in the 6068 following subsections.6066 Header caching is optional as it depends on external libraries, body 6067 caching is always enabled if mutt is compiled with POP and/or IMAP 6068 support as these use it (body caching requires no external library). 6069 6069 </para> 6070 6070 … … 6098 6098 6099 6099 <para> 6100 For the one-file-per-folder case, database files will be named by MD5 6101 sums. They may be safely removed if a system is short on space. You 6102 can compute the name of the header cache file for a particular folder 6100 For the one-file-per-folder case, database files for remote folders 6101 will be named according to their URL while database files for local 6102 folders will be named by the MD5 checksums of their path. These database 6103 files may be safely removed if a system is short on space. You 6104 can compute the name of the header cache file for a particular local folder 6103 6105 through a command like the following: 6104 6106 </para> … … 6107 6109 <screen> 6108 6110 $ printf '%s' '/path/to/folder' | md5sum 6109 $ printf '%s' 'imaps://user@host/path/to/folder' | md5sum6110 $ printf '%s' 'pops://user@host' | md5sum6111 6111 </screen> 6112 6112 </para> … … 6121 6121 <sect2 id="body-caching"> 6122 6122 <title>Body caching</title> 6123 6124 <para> 6125 Both cache methods can be combined using the same directory for storage 6126 (and for IMAP/POP even provide meaningful file names) which simplifies 6127 manual maintenance tasks. 6128 </para> 6129 6123 6130 6124 6131 <para> … … 6127 6134 for POP and IMAP folders because messages usually have to be 6128 6135 downloaded only once. 6129 </para>6130 6131 <para>6132 If the configure script is called with <emphasis>--enable-pop</emphasis>6133 and/or <emphasis>--enable-imap</emphasis>, body caching will be6134 built in as it does not require additional software packages such6135 as database libraries.6136 6136 </para> 6137 6137 … … 6150 6150 All files can be removed as needed if the consumed disk space 6151 6151 becomes an issue as mutt will silently fetch missing items again. 6152 </para> 6153 6154 </sect2> 6155 6156 <sect2 id="maint-cache"> 6157 <title>Maintenance</title> 6158 6159 <para> 6160 Mutt does not (yet) support maintenance features for header cache 6161 database files so that files have to be removed in case they grow too 6162 big. It depends on the database library used for header caching whether 6163 disk space freed by removing messages is re-used. 6164 </para> 6165 6166 <para> 6167 For body caches, mutt can keep the local cache in sync with the 6168 remote mailbox if the 6169 <link linkend="message-cache-clean">$message_cache_clean</link> 6170 variable is set. Cleaning means to remove messages from the cache which 6171 are no longer present in the mailbox which only happens when other mail 6172 clients or instances of mutt using a different body cache location 6173 delete messages (Mutt itself removes deleted messages from the cache 6174 when syncing a mailbox). As cleaning can take a noticeable amount of time, 6175 it should not be set in general but only occasionally. 6152 6176 </para> 6153 6177
