100k requests - what does it mean?
Hey guys,
can you please tell me what this means?
100k requests for what exactly, visitors?
I only have one static website...
What happens if the 100k is reached, I dont even know how I got the 9k till now

20 Replies
I curl your Worker:
curl https://worker_name.konstandin.workers.dev
, that's one request.
This is also affected by bots visiting your WorkerOkay wait what is a worker XD
Cloudflare Docs
Cloudflare Workers · Cloudflare Workers docs
Cloudflare Workers provides a serverless execution environment that allows you to create new applications or augment existing ones without configuring or maintaining infrastructure.
Okay, if I understand it correctly it takes up some loading on the server instead of the client? Sorry man, I am a beginner
Yeah, basically it just runs some code in Cloudflare's datacenters
It's a bit more complex than this, but that's a small gist
But the site will work normally if it hits 100k yes?
Just the client has more work to do no?
It depends on how the app is built. Some will handle it gracefully, but others may break entirely
As I said, I just have a simple portfolio, no fancy stuff, some framer motion, but that all is "use client"
Does building a page on CF take up these credits too?
Assuming that it is fully static, you shouldn't be consuming any requests. Do you have a repo for your project?
I'm sorry, I can't share it. My guess is that probably building the websites after I commit take up the requests, is this possible?
Or DNS stuff?
Google Fonts import urls, image urls or NextJS image optimization wouldn't use up workers/functions, correct?
Oh, if it is NextJS then yes, it burns through requests pretty fast, unless you do a full static build
Building doesn't consume any requests
It's just request made by the browser
So what can I do then?
I cant switch NextJS xd
If you can use a static build, I would probably do that
okay, need to learn what that is
Otherwise, you can use Workers Paid, which removes the limit
Yeah I saw that
I will try to have a static build first though
I did select the Framework preset as NextJS instead NextJS (Static HTML Export), can this be the issue? If yes, if I redeploy the site with the correct preset, do I have to make changes to the code too?
Changing the preset shouldn't make a difference, your project needs to be configured to build as a static project first
>.<
If you use API Routes in your project, you can't go static, for example
I dont have any APIs whatsoever
Can I DM you a link ?
Ok nevermind, I think I got it static now. I will see if the rates increase further
It seems like they have not increased further (+1 request instead of hundreds)
Will watch it tomorrow again, Thank you so much for your help!!!