Hey folks! I recently built a blog using Nuxt.js and I've come across a few hosting options like Cloudflare Pages. I hear it's free and includes DDoS protection, but I'm not sure if it's the best choice for my project. Here are some specific questions I have:
1. I plan to use backend features (Nitro) for my blog. Will these work on Cloudflare Pages since it's mainly a static hosting service? If not, how can I still utilize Cloudflare?
2. Will hosting on Cloudflare affect my ability to monetize through ads?
3. Are there any other considerations or potential issues I should be aware of before I choose my hosting provider?
I'm really new to this whole hosting thing, so any insights would be appreciated!
4 Answers
Ads should be fine no matter where you host your blog as long as you're using HTTPS and not blocking ad scripts. Cloudflare has made Pages more versatile lately, but for a simpler setup, I think Vercel could be a better option for just a blog.
For your backend needs with Nitro, you might run into some limitations on Cloudflare Pages. I prefer using a VPS that supports Node.js since it handles backend tasks way better. Anyone else here managed to deploy a Nuxt + Nitro app successfully on a VPS?
Absolutely! I hosted my Nuxt app on a VPS and it works like a charm. Way more control!
Cloudflare is still reliable for static and even dynamic sites if you leverage Workers. They do have a preset for Nitro, and you can prerender most content which keeps it fast. But if it seems too complex, consider Vercel; it’s much easier for straightforward blogs!
Yeah, while Cloudflare is powerful, sometimes simplicity wins, especially for newcomers.
Cloudflare is definitely an option. While Pages started as a static hosting service, you can combine it with Cloudflare Workers for dynamic capabilities. I personally use two Workers—one for handling my Nitro API and another for SSR with Astro, which works like a gateway to my main app. This setup gives great flexibility!
Yeah, combining Workers with Pages can really enhance functionality without breaking the bank!

Totally agree! Vercel makes deployment so effortless, especially for static sites.