惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

U
Unit 42
C
Cybersecurity and Infrastructure Security Agency CISA
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
Know Your Adversary
Know Your Adversary
S
Securelist
I
Intezer
AWS News Blog
AWS News Blog
L
LINUX DO - 热门话题
P
Privacy International News Feed
Recent Announcements
Recent Announcements
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
博客园 - 聂微东
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Attack and Defense Labs
Attack and Defense Labs
N
News and Events Feed by Topic
The GitHub Blog
The GitHub Blog
C
Cyber Attacks, Cyber Crime and Cyber Security
Schneier on Security
Schneier on Security
N
Netflix TechBlog - Medium
爱范儿
爱范儿
B
Blog
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
C
CERT Recently Published Vulnerability Notes
Hacker News: Ask HN
Hacker News: Ask HN
Google DeepMind News
Google DeepMind News
Engineering at Meta
Engineering at Meta
Blog — PlanetScale
Blog — PlanetScale
WordPress大学
WordPress大学
S
Secure Thoughts
K
Kaspersky official blog
N
News | PayPal Newsroom
O
OpenAI News
Last Week in AI
Last Week in AI
C
Check Point Blog
D
Darknet – Hacking Tools, Hacker News & Cyber Security
Cyberwarzone
Cyberwarzone
Application and Cybersecurity Blog
Application and Cybersecurity Blog
T
Tor Project blog
大猫的无限游戏
大猫的无限游戏
Vercel News
Vercel News
D
Docker
Hugging Face - Blog
Hugging Face - Blog
T
Threat Research - Cisco Blogs
Cisco Talos Blog
Cisco Talos Blog
The Register - Security
The Register - Security
博客园 - 司徒正美
Martin Fowler
Martin Fowler
人人都是产品经理
人人都是产品经理
P
Palo Alto Networks Blog

The Astro Blog

Astro 6.4 Astro 6.3 Starlight 0.39 Astro 6.2 What's new in Astro - April 2026 What's new in Astro - March 2026 Astro 6.1 CloudCannon Joins Astro as an Official CMS Partner Astro 6.0 What's new in Astro - February 2026 What's new in Astro - January 2026 Astro 5.17 Supporting the future of Astro The Astro Technology Company joins Cloudflare Astro 6 Beta What's new in Astro - December 2025 What's new in Astro - November 2025 Astro 5.16 Stainless Sponsors Astro, Launches Astro-Powered Docs Platform What's new in Astro - October 2025 Astro 5.15 Spirit of Astro: meet the winning designs What's new in Astro - September 2025 Astro 5.14 Cloudflare Donates $150,000 to Support Astro's Open Source Mission Webflow Donates $150,000 to Support Astro's Open Source Mission Mux: Our Official Video Partner Unleashing creativity: How CodeTV built a video streaming platform with Astro and Mux | Astro What's new in Astro - August 2025 Astro 5.13 What's new in Astro - July 2025 Astro 5.12 Starlight 0.35 Astro 5.11 What's new in Astro - June 2025 Live Content Collections: A Deep Dive Introducing… Astro Mart Astro Solstice Festival Astro 5.10 Astro 5.9 What's new in Astro - May 2025 Astro 5.8 What's new in Astro - April 2025 2025 Technical Steering Committee Starlight April Update Astro 5.7 Astro Agency Partner Program Astro 5.6 What's new in Astro - March 2025 Astro 5.5 What's new in Astro - February 2025 Astro 5.4 Starlight 0.32 Astro 5.3 What's new in Astro - January 2025 Astro 5.2 2024 year in review What's new in Astro - December 2024 Astro 5.1 Astro 5.0 Google IDX: Our Official Online Editor Partner What's new in Astro - November 2024 What's new in Astro - October 2024 Astro x Cloudinary SDK What's new in Astro - September 2024 Community Loaders for Astro Content Layer Astro x Hygraph: Content Loader Astro x Cloudinary: Content Loader Astro x Storyblok: Content Loader Content Layer: A Deep Dive Starlight 0.28 Astro 5.0 Beta Release The $100,000 Astro Ecosystem Fund Fall Update Goodbye Studio, Hello DB What's new in Astro - August 2024 Astro 4.15 Astro 4.14 Astro 4.13 What's new in Astro - July 2024 Astro 4.12: Server Islands Netlify: Our Official Deployment Partner What's new in Astro - June 2024 Astro 4.11 Astro Together 2024 Server Islands The Astro Content Layer Zero-JavaScript View Transitions Astro 4.10 Starlight turns one year old! What's new in Astro - May 2024 Astro 4.9 Astro 4.8 What's new in Astro - April 2024 Astro 4.7 Astro 4.6 What's new in Astro - March 2024 Migrating 500+ tests from Mocha to Node.js Astro DB: A Deep Dive The Astro Developer Portal Astro DB
Vercel: Our Official Hosting Partner
Thuy Doan, Fred Schott · 2023-08-28 · via The Astro Blog

We are thrilled to announce Vercel as Astro’s new official hosting partner!

Astro is a JavaScript web framework for building content-focused websites. Astro’s next-gen frontend architecture automatically reduces unused JavaScript on the page while maximizing Core Web Vitals and other performance metrics.

Thousands of Astro developers are already taking advantage of Vercel’s frontend cloud platform and generous free tier for hosting. This new partnership will guarantee more collaboration, more features, and an even better experience for Astro developers on Vercel.

Vercel will also be sponsoring $5,000 each month towards the ongoing open source maintenance and development of Astro. The new sponsorship funding will be invested directly back into our open source community and maintenance, benefiting everyone.

Here’s what Lee Robinson of Vercel had to say about the news:

Vercel believes in supporting open-source and all web frameworks. We’ve loved backing Astro for the past two years and are excited to take our partnership even further after seeing the continued growth of Astro on Vercel.

Lee Robinson, VP of Developer Experience

Lee and Fred K. Schott (Astro co-creator & project steward) had a chance to sit down for a conversation about the future of Astro, Vercel, and what this new partnership means for the web.

Play

Unlocking Astro on Vercel

Vercel has always been a great choice for Astro developers. Last year, Vercel launched automatic framework detection with zero-configuration setup for new Astro projects. This simple change saved Astro users countless hours and improved default performance with an optimized site configuration for everyone.

We’re excited to announce a new suite of features for Astro users who deploy to Vercel, available today. These features were made possible thanks to our ongoing collaboration with and sponsorship by Vercel.

Edge Middleware

Astro middleware now runs on the edge with Vercel’s Edge Middleware. Edge middleware runs as close to your users as possible, which means faster response times for your users. Edge middleware also lets you customize every request and response that runs through your server, potentially reducing the traffic sent to your origin servers.

Astro users can now:

  • Support multi-region URL schemes, redirecting users to their localized URL.
  • Verifying the user token and blocking unauthenticated traffic to the server.
  • Load data from an edge-distributed global database.
  • Define caching strategies in code, instead of config.
  • Minify response HTML as it streams back from the server.

Edge middleware can be enabled by adding {edgeMiddleware: true} to the Vercel adapter in your Astro configuration file. In a future version, this option may become the default behavior. Check out the Vercel documentation to learn more about how Edge Middleware works on Vercel.

Serverless Code Splitting

Astro server applications now runs faster on Vercel thanks to serverless code splitting on each route.

Previously, Astro would build your entire server application into a single JavaScript file. This simplified our deployments, but at the expense of poor serverless performance. By bundling your entire application in a single JavaScript file, response time (specifically, cold start time) would get weighed down by unused code as your codebase grew.

Splitting your application into smaller functions improves response time by removing unused code that isn’t needed for each route. Deploying individual routes also allows hosts like Vercel to better distribute your workload across multiple, smaller functions.

You can enable this feature today by specifying { functionPerRoute: true } in your Astro configuration file. In a few days, this option will become the default along with the upcoming release of Astro 3.0.

Image Optimization on Vercel

Astro sites can now connect to Vercel’s built-in image optimization service to power on-demand image optimization in Astro 3.0 (also available in Astro 2.x behind an experimental flag).

Image optimization is available on all platforms through Astro’s built-in <Image /> component and lower-level image APIs. Astro developers can use images on their website without the fear of accidentally forgetting to optimize an image. Cumulative Layout Shift is also prevented automatically with smart height & width attribute annotation on the img tag.

Static sites will already optimize your images ahead-of-time, as a part of your build. But Astro server applications normally need to also ship Astro’s built-in image optimization library Sharp to production for on-demand image optimization. By leveraging Vercel’s built-in image optimization service instead, developers can simplify deployment complexity, improve image performance, and reduce compute costs.

You can enable this feature today by specifying { imageService: true } in your Astro configuration file. In a future version, this option may become the default behavior.

Improving Astro for Everyone

We’ve built all three of these features in collaboration with Vercel by leveraging their Build Output API. Our goal is to bring them to more hosting platforms in the future. Everything mentioned in this post has been designed in a platform-agnostic way so that anyone can take these same features and enable them on their own hosting platform.

If you are interested in enabling these features for your hosting platform, you can reach out on Discord.

Astro ❤️ Vercel

Astro is honored to have Vercel joining as our new official hosting partner. We are grateful to Lee Robinson and the entire Vercel team for their support and evangelism of Astro. It’s because of support from companies like Vercel that we are able to receive ongoing maintenance and keep developing Astro as an open, financially-sustainable open source project.

You can learn more about how we use our sponsorship funds from our FUNDING.md document on GitHub. If you or your company use Astro in production, consider supporting Astro’s development by sponsoring us on Open Collective or GitHub Sponsors.