Feb 19, 2024 – Akamai integration with Speculation Rules API
10 months ago by igkoprow@akamai.com
You can leverage Speculation Rules API to improve the performance of Multi Page Apps (MPA) by prefetching or prerendering future navigations. This API promises a nearly-instant load of URLs that you specify in a special JSON structure, along with other rules that define how and when to trigger each speculative loading type.
To communicate the JSON structure containing speculation rules to the browser with Akamai, you can either use Property Manager behaviors, or embed it directly in the HTML with EdgeWorkers.