14 min read
Serving Markdown to AI Agents with CloudFront Functions and SST
Every post on this blog is also served as plain markdown – same URL, one Accept header away. Here is the full implementation: prerendered Astro endpoints, a CloudFront function that rewrites requests at the edge, and the caching details in between.