--server-cache-ttl
- CLI
- --server-cache-ttl
- REST
- CLI only
Sets how many seconds a cached render stays fresh; after that the next request renders again. It is also the max-age in the response’s Cache-Control. 0 is rejected.
Example
CLI
Run locally
zshot --server --server-cache --server-cache-ttl 3600