GuideReference
TrainingSupportCommunity

adaptive_​acceleration


Adaptive Acceleration uses HTTP/2 server push functionality with Ion properties to pre-position content and improve the performance of HTML page loading based on real user monitoring (RUM) timing data. It also helps browsers to preconnect to content that’s likely needed for upcoming requests. To use this behavior, make sure you enable the http2 behavior. Use the Adaptive Acceleration API to report on the set of assets this feature optimizes.

OptionTypeDescriptionRequires
sourcestring

The source Adaptive Acceleration uses to gather the real user monitoring timing data, either m​Pulse or real​User​Monitoring. The recommended m​Pulse option supports all optimizations and requires the m​_pulse behavior added by default to new Ion properties. The classic real​User​Monitoring method has been deprecated. If you set it as the data source, make sure you use it with the real​_user​_monitoring behavior.

{"displayType":"string","tag":"input","type":"text"}
enable_​pushboolean

Recognizes resources like Java​Script, CSS, and images based on gathered timing data and sends these resources to a browser as it's waiting for a response to the initial request for your website or app. See Automatic Server Push for more information.

{"displayType":"boolean","tag":"input","type":"checkbox"}
enable_​preconnectboolean

Allows browsers to anticipate what connections your site needs, and establishes those connections ahead of time. See Automatic Preconnect for more information.

{"displayType":"boolean","tag":"input","type":"checkbox"}
preload_​enableboolean

Allows browsers to preload necessary fonts before they fetch and process other resources. See Automatic Font Preload for more information.

{"displayType":"boolean","tag":"input","type":"checkbox"}
ab_​logicenum

Specifies whether to use Adaptive Acceleration in an A/B testing environment. To include Adaptive Acceleration data in your A/B testing, specify the mode you want to apply. Otherwise, DISABLED by default. See Add A/B testing to A2 for details.

{"displayType":"enum","options":["DISABLED","CLOUDLETS","MANUAL"],"tag":"select"}
DISABLED

Disables the use of Adaptive Acceleration in the A/B testing environment. This is the default value.

CLOUDLETS

Applies A/B testing using Cloudlets.

MANUAL

Applies A/B testing by redirecting a request to one of two origin servers, based on the cookie included with the request.

enable_​roboolean

Enables the Resource Optimizer, which automates the compression and delivery of your .css, .js, and .svg content using a combination of Brotli and Zopfli compressions. The compression is performed offline, during a time to live that the feature automatically sets. See the resource​_optimizer and resource​_optimizer​_extended​_compatibility behaviors for more details.

{"displayType":"boolean","tag":"input","type":"checkbox"}
enable_​brotli_​compressionboolean

Applies Brotli compression, converting your origin content to cache on edge servers.

{"displayType":"boolean","tag":"input","type":"checkbox"}
{"if":{"attribute":"modulesOnContract","op":"contains","scope":"global","value":"Brotli_Compression"}}
enable_​for_​noncacheableboolean

Applies Brotli compression to non-cacheable content.

enable_​brotli_​compression is true
{"displayType":"boolean","tag":"input","type":"checkbox"}
{"if":{"op":"and","params":[{"attribute":"enableBrotliCompression","op":"eq","value":true},{"attribute":"modulesOnContract","op":"contains","scope":"global","value":"Brotli_Compression"}]}}