xin

scgi_cache_methods

SCGI: Selects request methods eligible for caching.

Syntaxscgi_cache_methods method ...;
Contextshttpserverlocation

Behavior

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

Example

scgi_cache_methods GET HEAD;