- Property Manager name: ESI (Edge Side Includes)
- Behavior version: The
latest
rule format supports theedgeSideIncludes
behavior v1.3. - Rule format status: Beta, possible breaking changes
- Access: Read/Write
- Allowed in includes: Not available for
latest
rule format
Allows edge servers to process edge side include (ESI) code to generate dynamic content. To apply this behavior, you need to match on a contentType
, 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"} | |
enableViaHttp | boolean | Enable ESI only for content featuring the | {"displayType":"boolean","tag":"input","type":"checkbox"} | |
passSetCookie | boolean | Allows edge servers to pass your origin server's cookies to the ESI processor. | enableViaHttp is true | {"displayType":"boolean","tag":"input","type":"checkbox"} {"if":{"op":"or","params":[{"attribute":"enabled","op":"eq","value":true},{"attribute":"enableViaHttp","op":"eq","value":true}]}} |
passClientIp | boolean | Allows edge servers to pass the client IP header to the ESI processor. | enableViaHttp is true | {"displayType":"boolean","tag":"input","type":"checkbox"} {"if":{"op":"or","params":[{"attribute":"enabled","op":"eq","value":true},{"attribute":"enableViaHttp","op":"eq","value":true}]}} |
i18nStatus | boolean | Provides internationalization support for ESI. | enableViaHttp is true | {"displayType":"boolean","tag":"input","type":"checkbox"} {"if":{"op":"or","params":[{"attribute":"enabled","op":"eq","value":true},{"attribute":"enableViaHttp","op":"eq","value":true}]}} |
i18nCharset | string array | Specifies the character sets to use when transcoding the ESI language, | i18nStatus is true | {"displayType":"string array","tag":"input","todo":true} {"if":{"attribute":"i18nStatus","op":"eq","value":true}} |
detectInjection | boolean | Denies attempts to inject ESI code. | {"displayType":"boolean","tag":"input","type":"checkbox"} |