Astro 7.0
4 hours ago
- #Performance
- #Astro 7
- #Rust
- Astro 7 release focuses on performance improvements, achieving 15-61% faster builds.
- Key upgrades include a Rust-based .astro compiler, Rust-powered Markdown/MDX pipeline via Sätteri, and a queue-based rendering engine.
- Integration with Vite 8 and its Rolldown bundler enhances build speeds, with no configuration changes for most projects.
- Advanced Routing introduced with src/fetch.ts for full control over Astro’s request pipeline, compatible with Hono middleware.
- Route caching is stabilized, with experimental CDN cache providers for Netlify, Vercel, and Cloudflare.
- AI enhancements include background dev server mode and JSON logging to support AI coding agents and structured logs.
- Benchmarks show significant build time reductions across various sites, with the largest gains on Markdown-heavy pages.