xin

uwsgi_cache_path

Defines a disk-cache directory and zone.

Syntaxuwsgi_cache_path path [levels=levels] keys_zone=name:size [inactive=time] [max_size=size];
Contextshttp

Behavior

The directory must be usable by the serving process.

Example

uwsgi_cache_path /var/cache/xin/uwsgi levels=1:2 keys_zone=responses:10m max_size=1g;