Travel Directory Moves Off Vercel's Free Plan to Cloudflare Workers
A developer running an 800-page travel directory with an affiliate revenue model moved the site off Vercel's Hobby plan, which prohibits commercial use. The move was prompted by a storage warning and the realization that the site earned commission, making the free tier inappropriate. Rather than a simple settings change, the migration required rebuilding the 650-line vercel.json routing logic, which turned out to be an implicit program that Vercel interpreted. A roughly 120-line Cloudflare Worker was written to reproduce redirect ordering, path matching, proxying, static serving and headers. The developer validated the new setup by comparing responses against the old host across all sitemap URLs before switching over.
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