instant


The Instant feature allows you to prefetch content to the edge cache by adding link relation attributes to markup. For example:

xml <a href="page2.‚Äčhtml" rel="Akamai-prefetch">Page 2</a>

Default link relation values are prefetch and Akamai-prefetch. Applies only to HTML elements that may specify an external file: <a>, <base>, <img>, <script>, <input>, <link>, <table>, <td>, or <th>. (For the latter three, some legacy browsers support a nonstandard background image attribute.)

This behavior provides an alternative to the prefetch and prefetchable behaviors, which allow you to configure more general prefetching behavior outside of markup.

OptionTypeDescriptionRequires
prefetch‚ÄčCacheableboolean

When enabled, applies prefetching only to objects already set to be cacheable, for example using the caching behavior. Only applies to content with the tiered‚ÄčDistribution behavior enabled.

{"displayType":"boolean","tag":"input","type":"checkbox"}
prefetch‚ÄčNo‚ÄčStoreboolean

Allows otherwise non-cacheable no-store content to prefetch if the URL path ends with / to indicate a request for a default file, or if the extension matches the value of the prefetch‚ÄčNo‚ÄčStore‚ÄčExtensions option. Only applies to content with the sure‚ÄčRoute behavior enabled.

{"displayType":"boolean","tag":"input","type":"checkbox"}
prefetch‚ÄčNo‚ÄčStore‚ÄčExtensionsstring array

Specifies a set of file extensions for which the prefetch‚ÄčNo‚ÄčStore option is allowed.

prefetch‚ÄčNo‚ÄčStore is true
{"displayType":"string array","tag":"input","todo":true}
{"if":{"attribute":"prefetchNoStore","op":"eq","value":true}}
prefetch‚ÄčHtmlboolean

Allows edge servers to prefetch additional HTML pages while pages that link to them are being delivered. This only applies to links from <a> or <link> tags with the appropriate link relation attribute.

prefetch‚ÄčCacheable is true
OR¬†prefetch‚ÄčNo‚ÄčStore is true
{"displayType":"boolean","tag":"input","type":"checkbox"}
{"if":{"op":"or","params":[{"attribute":"prefetchCacheable","op":"eq","value":true},{"attribute":"prefetchNoStore","op":"eq","value":true}]}}