- Property Manager name: Last Mile Acceleration (Gzip Compression)
- Behavior version: The
latest
rule format supports thegzipResponse
behavior v1.2. - Rule format status: Beta, possible breaking changes
- Access: Read/Write
- Allowed in includes: Not available for
latest
rule format
Apply gzip compression to speed transfer time. This behavior applies best to text-based content such as HTML, CSS, and JavaScript, especially once files exceed about 10KB. Do not apply it to already compressed image formats, or to small files that would add more time to uncompress. To apply this behavior, you should match on contentType
or the content's cacheability
.
Option | Type | Description | Requires | |
---|---|---|---|---|
behavior | enum | Specify when to compress responses. | {"displayType":"enum","options":["ORIGIN_RESPONSE","ALWAYS","NEVER"],"tag":"select"} | |
ORIGIN_RESPONSE | Compress for clients that send an | |||
ALWAYS | Always compress. | |||
NEVER | Never compress. |