Header Cache Compression π₯#
The Header Cache Compression feature can be used for speeding up the loading of large mailboxes. Also the space used on disk can be shrunk by about 50% β depending on the compression method being used.
The implementation sits on top of the header caching functions. So the header cache compression can be used together with all available database backends.
Variables#
Name |
Type |
Default |
|---|---|---|
|
string |
(empty) |
|
number |
|
The header_cache_compress_method can be (empty) β which means that no header cache compression should be used.
But when set to lz4, zlib or zstd β then the compression is turned on.
The header_cache_compress_level defines the compression level, which should be used together with the selected header_cache_compress_method.
Here is an overview of the possible settings:
Method Name |
Min |
Max |
|---|---|---|
|
1 |
12 |
|
1 |
9 |
|
1 |
22 |
neomuttrc#
# Example NeoMutt config file for the header cache compression feature.
# --------------------------------------------------------------------------
# VARIABLES β shown with their default values
# --------------------------------------------------------------------------
set header_cache_compress_level = 1
set header_cache_compress_method = ""
# vim: filetype=neomuttrc
Credits#
Tino Reichardt