Minimize Payload
Use these behaviors to minimize the size of delivered content and reduce the number of bytes sent by your Ion configuration. Lowering payload size decreases network overhead and speeds up the experience for your users.
Brotli Support
Recommended
This setting optimizes content delivery by allowing Akamai edge servers to cache and serve assets compressed with the Brotli algorithm. Brotli offers significantly higher compression rates than Gzip, reducing page load times and bandwidth consumption for compatible clients.
When a browser sends an Accept-Encoding: br header, Akamai delivers the Brotli-compressed version of the asset. It resolves prior interoperability issues by performing compression instantly on the edge and expanding support to non-cacheable resources. If a browser does not support Brotli, Akamai automatically falls back to standard or Gzip formats.
Key features and caveats
- This serves compressed resources to requesting browsers. The resources need to be Brotli-compressed on your origin.
- It supports more content types than older features like Resource Optimizer or Last Mile Acceleration, and it can optionally compress non-cacheable resources.
- If a Gzip-compressed version of a file is already stored in the Akamai cache, Akamai will continue to serve that Gzip file until its Time-to-Live (TTL) expires. The Brotli version will populate once the existing cache clears.
To learn more, see Brotli Support.
Gzip Compression Template
This behavior optimizes the "last mile" of delivery between the Akamai edge and the user's browser. The edge server checks for the Accept-Encoding: gzip entry in the user's request header to ensure the browser supports decompression.
Default setup
- Content type. Pre-populated with several text-based formats that are commonly used with websites and apps. While we recommend to leave all of these defaults, you can add more content types for broader support.
- Gzip compression. Set to Always by default. This ensures all matching file types are compressed before delivery, speeding up the transfer.
To learn more, see Gzip Compression.
Updated about 1 month ago
