Back to articles
The 48-Hour Infrastructure Overhaul: From Vercel to a Modular Stack
How-ToDevOps

The 48-Hour Infrastructure Overhaul: From Vercel to a Modular Stack

via Dev.to DevOpsTrae Zeeofor

The last 48 hours have been intense. I received a “quota usage” warning from Vercel regarding image optimization , which sent me down a rabbit hole of debugging. After cross-referencing documentation for Vercel , Next.js , Cloudflar e, and PayloadCMS , I finally optimized my Cache-Control headers . It’s a common headache when working across multiple layers, since settings can conflict with or override one another. Cleaning up the database fetching cache cod e is a minor follow-up task that I’ll wrap up today. I’ve since migrated the app from Vercel to Railway to keep costs under control. The transition had its challenges, but the setup is now stable. Railway handles application deployment, database hosting, and custom domain origin, while Cloudflare manages DNS and blob storage. Zoho remains my email host, Namecheap continues to act as the registrar, and the code repository of course still lives on GitHub . The long-term goal is to eventually consolidate everything onto a self-managed

Continue reading on Dev.to DevOps

Opens in a new tab

Read Full Article
170 views

Related Articles