xin

fastcgi_cache_methods

FASTCGI: Selects request methods eligible for caching.

Syntaxfastcgi_cache_methods method ...;
Contextshttpserverlocation

Behavior

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

Example

fastcgi_cache_methods GET HEAD;