xin

uwsgi_cache_methods

UWSGI: Selects request methods eligible for caching.

Syntaxuwsgi_cache_methods method ...;
Contextshttpserverlocation

Behavior

Use with the matching upstream handler and a configured cache zone. Child-scope cache lists replace inherited lists.

Example

uwsgi_cache_methods GET HEAD;