Hcache Options#
$header_cache#
- Description:
Directory/file for the header cache database
- Type:
- Default:
(empty)
set header_cache = ""
Point to the header cache database. If the path points to an existing directory, NeoMutt will create a dedicated header cache database per folder. Otherwise, the path points to a regular file, which will be created as needed and used as a shared global header cache for all folders. By default it is unset so no header caching will be used.
Header caching can greatly improve speed when opening POP, IMAP MH or Maildir folders, see Set Up Header/Body Caching for details.
$header_cache_backend#
- Description:
Header cache backend to use
- Type:
- Notes:
- Default:
(empty)
set header_cache_backend = "lmdb"
Specify the header cache backend. If no backend is specified, the first available backend will be used in the following order:
Backend |
Notes |
|---|---|
lmdb |
Strongly recommended (default) |
gdbm |
Good fallback option |
rocksdb |
|
tdb |
|
bdb |
Deprecated |
kyotocabinet |
Deprecated |
qdbm |
Deprecated |
tokyocabinet |
Deprecated |
The deprecated backends will soon be removed from NeoMutt.
$header_cache_compress_level#
- Description:
Level of compression for method
- Type:
- Notes:
- Default:
set header_cache_compress_level = 1
When NeoMutt is compiled with lz4, zstd or zlib, this option can be used to setup the compression level.
$header_cache_compress_method#
- Description:
Enable generic hcache database compression
- Type:
- Notes:
- Default:
(empty)
set header_cache_compress_method = ""
When NeoMutt is compiled with lz4, zstd or zlib, the header cache backend can use these compression methods for compressing the cache files. This results in much smaller cache file sizes and may even improve speed.