DEV Community

Cover image for Cloudflare saved my Vercel quota & I barely noticed
Sivaram
Sivaram

Posted on

3 1 1 1 1

Cloudflare saved my Vercel quota & I barely noticed

I run https://swapi.info as a side project and host it on Vercel. Thanks to paranoia of my whole account running of the free tier credits because someone thought it would be nice to make a ton of requests to the APIs for fun. Vercel provides rewrite functionality that help me keep the API paths same as the original swapi.dev but serve the content from plain static JSON files.

Vercel complains that there's a proxy present in the domains section. But PSA, don't listen to that. If you host your side projects on Vercel, just add Cloudflare in front of atleast the large assets in that way people don't run your account out of credits just because they can.

With swapi.dev being down with SSL issues, there's been an uptick in the viistors to my site but didn't expect to get 500k spike in requests on a single day.

Thank you Cloudflare for saving my free stuff with more free stuff 😂

Enterprise-level in-app dashboards. Startup-level speed.

Enterprise-level in-app dashboards. Startup-level speed.

Embed in minutes, load in milliseconds, extend infinitely. Import any chart, connect to any database, embed anywhere. Scale elegantly, monitor effortlessly, CI/CD & version control.

Get access today

Top comments (0)

Warp.dev image

Warp is the #1 coding agent.

Warp outperforms every other coding agent on the market, and gives you full control over which model you use. Get started now for free, or upgrade and unlock 2.5x AI credits on Warp's paid plans.

Download Warp

AWS Security LIVE! from AWS Partner Summit New York City

Join AWS Security LIVE! Streaming live from the AWS Partner Summit - New York City, July 15 8:00-9:00am ET and 10:15am-5:00pm ET where we talk all things Security!

Tune in to the full event

DEV is partnering to bring live events to the community. Join us or dismiss this billboard if you're not interested. ❤️