- Property Manager name: ESI (Edge Side Includes)
- Behavior version: The
v2024-01-09
rule format supports theedge_side_includes
behavior v1.3. - Rule format status: GA, stable
- Access: Read/Write
- Allowed in includes: Yes
Allows edge servers to process edge side include (ESI) code to generate dynamic content. To apply this behavior, you need to match on a content_type
, path
, or filename
. Since this behavior requires more parsing time, you should not apply it to pages that lack ESI code, or to any non-HTML content.
Option | Type | Description | Requires | |
---|---|---|---|---|
enabled | boolean | Enables ESI processing. | {"displayType":"boolean","tag":"input","type":"checkbox"} | |
enable_via_http | boolean | Enable ESI only for content featuring the | {"displayType":"boolean","tag":"input","type":"checkbox"} | |
pass_set_cookie | boolean | Allows edge servers to pass your origin server's cookies to the ESI processor. | enable_via_http is true | {"displayType":"boolean","tag":"input","type":"checkbox"} {"if":{"op":"or","params":[{"attribute":"enabled","op":"eq","value":true},{"attribute":"enableViaHttp","op":"eq","value":true}]}} |
pass_client_ip | boolean | Allows edge servers to pass the client IP header to the ESI processor. | enable_via_http is true | {"displayType":"boolean","tag":"input","type":"checkbox"} {"if":{"op":"or","params":[{"attribute":"enabled","op":"eq","value":true},{"attribute":"enableViaHttp","op":"eq","value":true}]}} |
i18n_status | boolean | Provides internationalization support for ESI. | enable_via_http is true | {"displayType":"boolean","tag":"input","type":"checkbox"} {"if":{"op":"or","params":[{"attribute":"enabled","op":"eq","value":true},{"attribute":"enableViaHttp","op":"eq","value":true}]}} |
i18n_charset | string array | Specifies the character sets to use when transcoding the ESI language, | i18n_status is true | {"displayType":"string array","tag":"input","todo":true} {"if":{"attribute":"i18nStatus","op":"eq","value":true}} |
detect_injection | boolean | Denies attempts to inject ESI code. | {"displayType":"boolean","tag":"input","type":"checkbox"} |