Best Hosting Options for My Nuxt.js Blog: Cloudflare Pages, Vercel, or Netlify?

0
8
Asked By CuriousCoder42 On

Hey everyone! I recently built a blog using Nuxt.js and I'm exploring my hosting options. I heard that Cloudflare Pages is free and comes with DDoS protection, which sounds great. However, I have a few questions:

1. If I plan to use a backend (Nitro) for my blog, will it work with Cloudflare since I understand it's primarily for static hosting? If it doesn't, what are my alternatives?
2. Will using Cloudflare cause any issues with monetizing my site through ads?
3. Are there any potential concerns or limitations with these hosting options that I should be aware of as a beginner?

Any insights would be appreciated!

5 Answers

Answered By DynamicDude77 On

While Cloudflare Pages is solid for static sites, using Nitro for your dynamic features might hit some limitations. Based on my experience, hosting dynamic apps on a VPS that supports Node.js may be a way to handle backend logic much more smoothly. Anyone else tried this combo with Nuxt and Nitro?

FrontendFreak33 -

Yeah, I've had a go with it! It really helps to have full control over the environment.

Answered By TechieTraveler99 On

You're good to go with Cloudflare! Pages now supports more than just static hosting. You can pair it with Workers, and since Nitro has a preset for Cloudflare, SSR will work too. For a blog, you might even consider pre-rendering the majority of your pages and keeping only the API functionality on Workers. It keeps things efficient and cost-effective. Plus, ad monetization won't be a problem as long as you're using HTTPS and not blocking scripts.

HelpfulHolly -

Definitely! I’ve had a similar experience with ad integration. Just ensure everything is set correctly, and you should be fine.

Answered By WebWizard88 On

Cloudflare Pages can host your app, but for better performance, consider using Workers if you need backend capabilities. You can go for a static site setup or implement server-side rendering (SSR) by using a combination of pages and Workers. I've set up a system with two Workers: one handles the Nitro API, and the other serves as a gateway to my SSR app. That way, you get the best of both worlds!

Answered By CloudCasual On

If you're looking for a simpler setup, have you considered GitHub Pages? They have a Nitro configuration available, and it's also free. It might be worth trying out if you're just getting started and want something easier to manage!

Answered By RealisticRicky On

Just a heads up, while Cloudflare Pages is nice, I would lean towards Vercel for a straightforward blogging experience. They allow easy deployments and keep things simple. Cloudflare is investing a lot more in Workers for future features, so for a basic blog, Vercel might be your best bet right now.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.