struo cache serve

Serve an authenticated HTTP cache with bounded disk and memory usage.

Synopsis#

plaintext
struo cache serve [OPTIONS]

Options#

FlagValueDefaultDescription
--listen<LISTEN>127.0.0.1:8080Address to bind. Use a TLS reverse proxy for public access.
--data-dir<DATA_DIR>Directory exclusively owned by this server.
--token-file<TOKEN_FILE>JSON credential file containing a nonempty token string.
--max-size<MAX_SIZE>20GiBMaximum object and staged-upload storage, such as 20GiB.