Response: set max age¶
Plugin ID: eca_endpoint_set_response_max_age
Available since: 1.1.0
Fields¶
Client value (max-age)— config key:max_age-
The number of seconds for the client-side max age.
This field supports tokens.Type:
textfield· Required: yes · Default: empty string Shared value (s-max-age)— config key:s_max_age-
The number of seconds for the shared max age.
This field supports tokens.Type:
textfield· Required: yes · Default: empty string Set public— config key:set_public-
Cacheability is usually only working when the response is set to be public. When not enabled, the response will be set as private.
Type:
checkbox· Required: no · Default:true Set expires— config key:set_expires-
When enabled, the expires header is automatically derived from the defined max age.
Type:
checkbox· Required: no · Default:true