HTTP proxy directives
proxy_cache_revalidate directive
HTTP, server, location context. Default: off. Introduced: 1.5.7. Checks expired entries with origin validators when enabled.
Formal Syntax & Structure
nginx syntaxnginx
proxy_cache_revalidate on | off;Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| state | on | off | Use conditional requests to validate expired entries. |
Working Example
Example Snippetnginx
proxy_cache_revalidate on;