Building Data-Driven Speculation Rules with CloudWatch RUM, CloudFront Functions, and KVS
Building Data-Driven Speculation Rules with CloudWatch RUM, CloudFront Functions, and KVS TL;DR: Speculation Rules API lets browsers prefetch or prerender pages users are likely to visit next. The challenge is predicting which pages. This post builds an automated pipeline: CloudWatch RUM collects real user navigation patterns, a daily Lambda job computes per-page top destinations and writes them …