- Property Manager name: Validate Entity Tag (ETag)
- Behavior version: The
latest
rule format supports thevalidateEntityTag
behavior v1.3. - Rule format status: Beta, possible breaking changes
- Access: Read/Write
- Allowed in includes: Not available for
latest
rule format
Instructs edge servers to compare the request's ETag
header with that of the cached object. If they differ, the edge server sends a new copy of the object. This validation occurs in addition to the default validation of Last-Modified
and If-Modified-Since
headers.
You can specify whether this behavior should support only strong ETag
values, ignoring weak ETag
and always returning a full response, or weak values should also be accepted. For more details, see the RFC Standard.
Option | Type | Description | Requires | |
---|---|---|---|---|
enabled | boolean | Enables the ETag validation behavior. | {"displayType":"boolean","tag":"input","type":"checkbox"} | |
nonStrictEnabled | boolean | Whether you want to allow strong | {"displayType":"boolean","tag":"input","type":"checkbox"} {"if":{"attribute":"enabled","op":"eq","value":true}} | |
weakEnabled | boolean | Whether you want to allow weak | {"displayType":"boolean","tag":"input","type":"checkbox"} {"if":{"attribute":"enabled","op":"eq","value":true}} |