Astro Site Serving 8 Languages on Vercel Cuts Build Time to Under 4 Minutes
A developer team behind the transfer booking site navetteforyou.com shared lessons from deploying a multilingual Astro site with over 5,000 static routes to Vercel. Each page exists in eight languages, with translated URL slugs and hreflang tags linking every variant to its alternates, all generated from a single route map that also drives the sitemap. Arabic routes use right-to-left layout through dir="rtl", CSS logical properties, and mirrored navigation and forms. Build optimizations including parallel content processing, one-time image optimization with Sharp, and Vercel incremental static regeneration reduced build time from 12 minutes to under 4 minutes. The article notes that individual pages can be updated without rebuilding the entire site.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.


Discussion (0)
Log in to join the discussion and vote.
Log in