Replies: 2 comments 2 replies
-
|
The idea of serving different versions of the page depending on the
As an alternative, just SSR your route, and when the |
Beta Was this translation helpful? Give feedback.
-
|
Just to let you know, internally, we already started discussing how Astro can provide such content for LLMs. We aren't ready for a proposal yet because we want to frame where and how the feature will stand inside the Astro code base e.g. scope of the feature, core VS integration, what about MDX, etc. There's a lot to consider, but rest assured that it's on our radars |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Body
Problem Statement
LLM agents and AI crawlers are becoming a significant portion of web traffic. These agents don't need HTML markup, CSS, or JavaScript - they only need semantic content. Currently, serving full HTML to LLMs results in:
Proposed Solution
Add native support in Astro and Starlight to automatically serve markdown versions of pages when the Accept header indicates preference for
text/plainortext/markdownovertext/html.Example behavior:
Implementation Ideas
astro build, automatically generate parallel markdown versions of all HTML pagesastro.config.mjs:Benefits
Prior Art
Community Impact
This feature would position Astro as the first major SSG with native LLM optimization, potentially driving adoption among:
Beta Was this translation helpful? Give feedback.
All reactions