- Property Manager name: Last Mile Acceleration (Gzip Compression)
- Behavior version: The
v2024-01-09
rule format supports thegzip_response
behavior v1.2. - Rule format status: GA, stable
- Access: Read/Write
- Allowed in includes: Yes
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 content_type
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. |