download-cache verifiedWritten by the Hub
Where fetched resources are kept
in the configuration this is a line
download-cache: directory:///tmp/downloadsStore for downloaded resources, so the same image is not fetched for every message.
Values
- Values
directory:// or another supported store- Default
directory:///tmp/downloads · taken from the build- applying
restart required- where it can be set
in the config file · with a startup flag · as an environment variable
In detail
A directory under /tmp by default. For a campaign of a hundred thousand messages sharing one header image, the cache is the difference between one request and a hundred thousand — and between being a normal client of someone's CDN and being an attack on it. Being under /tmp, it is also subject to whatever cleans /tmp, which at worst costs a re-fetch.