confused about the features and limits of cloudflare pages

helllo everyone 🙂 noob here, i'd like to get some insight as to should i be paying for cloudflare pages? it says i would only get 50 subrequests, what are those?
12 Replies
Chaika
Chaika•17mo ago
You get unlimited static asset requests.
it says i would only get 50 subrequests, what are those?
You're probably talking about the Functions/Workers subrequest limit I assume. You get 50 subrequests per invocation (http request), and you get 100k invocations a day on free. That is to say, if you create and use a Cloudflare Function in your Pages Project, it can do 50 subrequests (fetch()'s inside of it, cache api also counts) per request it gets from a user
bregue dhue
bregue dhueOP•17mo ago
ty for asnwering the cloudflare functions are like the serverless functions from amazon?
Chaika
Chaika•17mo ago
Yep exactly. Functions are essentially Cloudflare Workers, but with a bit of sugar/file based routing around it for the Pages ecosystem. It's the same platform and general limits, and they both count towards the same free quota
bregue dhue
bregue dhueOP•17mo ago
ty ty and what about these request limits? 100mb body size? this is for how large my assets are to download?
Chaika
Chaika•17mo ago
It's the max request upload size to your function. That is, if you tried uploading a 200 MB file to your worker on free, it would fail Download size is unlimited via functions, although Pages itself has a 25 MB per file limit
bregue dhue
bregue dhueOP•17mo ago
yeah sounds like i don't need to be paying which is pretty cool
Chaika
Chaika•17mo ago
you probably don't, CF's free tier is pretty generous, if your pages site is fully static you would only need to pay for more builds
bregue dhue
bregue dhueOP•17mo ago
what does that mean more builds?
Chaika
Chaika•17mo ago
You get 500 builds per month on free, there is also the limit of 100 custom domains per project, and 1 concurrent build (i.e only one build at once across all your projects) If you needed more then that many builds, or wanted more custom domains or concurrent builds, then you would want to upgrade
bregue dhue
bregue dhueOP•17mo ago
i really appreciate your help i thikn i'm fine with the free plan. it seems the next step up is for blogs that have considerable traffic and the one after that is for small online stores i'm just trying to build portfolio projects for my resume
Chaika
Chaika•17mo ago
You probably are. If it's worth explaining as well, I assume you're saying that because of the pro/biz descriptions. You aren't forced to upgrade, you can have a commerical site even on free plan. I know quite a few businesses still on free plan, if you don't need any of the extra features, no point in upgrading
bregue dhue
bregue dhueOP•17mo ago
interesting ty again
Want results from more Discord servers?
Add your server