- Property Manager name: ESI (Edge Side Includes)
- Behavior version: The
latestrule format supports theedgeSideIncludesbehavior v1.3. - Rule format status: Beta, possible breaking changes
- Access: Read/Write
- Allowed in includes: Not available for
latestrule 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 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"} |
