Content pfp
Content
@
0 reply
0 recast
2 reactions

Nick Brodeur pfp
Nick Brodeur
@ncale.eth
Trying to get the best overall value for hosting my next js apps. From what I've seen, you need to hit a ridiculous amount of traffic before you're paying more than $100 / mo using vercel assuming your code is semi-efficient. Is anyone even hosting personal projects on a vps? If so, why?
2 replies
0 recast
2 reactions

Kuririn pfp
Kuririn
@kuririn
Try cloudflare pages, it will be much cheaper or even free. https://www.npmjs.com/package/@cloudflare/next-on-pages
1 reply
0 recast
2 reactions

Nick Brodeur pfp
Nick Brodeur
@ncale.eth
You need to configure your app to run on the edge right? I’ve heard it’s cheaper but didn’t feel like reconfiguring everything.
1 reply
0 recast
0 reaction

Kuririn pfp
Kuririn
@kuririn
I was just running a test for a next.js app and there wasn't much to change. I will be starting a larger project this week and could share more. In the past I have run several projects with SvelteKit and it could be true, that you need to be aware of what is running on the workers and what is static and sometimes that need a little more config. However, for next.js, the main thing you need to add is export const runtime = 'edge'; for server-side routes, and that's it in most cases.
1 reply
0 recast
0 reaction

Nick Brodeur pfp
Nick Brodeur
@ncale.eth
Got it, yeah I’d be interested in hearing your experience. The docs actually looked pretty good but I was still scared off
0 reply
0 recast
0 reaction