xin

fastcgi_cache_key

FASTCGI: Defines the cache key.

Syntaxfastcgi_cache_key string;
Contextshttpserverlocation

Behavior

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

Example

fastcgi_cache_key "$scheme$request_method$host$request_uri";