Yeah, we talked about it before, but any project with any functions stuff (anything in the functions directory or an _worker.js) make every request on that project count as an invocation.
We’re figuring out if we can get smarter about that when we come out of beta, but yes, even static assets without any matching route will count as an invocation.
@gregbrimble I sent a support req, we're about 99% sure of migrating almost all of our backend over to CF + CF pages and moving a bunch more into durable objects, we're super thrilled but getting hit hard by that req limit at the moment. looking at doing some more clever things with setting up another service, but need service bindings too. no worries today, but I'm working on machinery.
If you have hit your limit for invocation requests while deploying your functions on Cloudflare Pages, you can submit this form to our team to learn more about your use case. Please provide the information below in case we need to chat with you more about raising the limit.
Please note: this limit increase is only applied to Functions deployed...
Absolutely. But bear in mind folks, that this is no worse than what Workers Sites does today. We'll absolutely be trying to figure out when we can know the request isn't anything functions-y, but we just don't have the answers right now.
er, to be a little more specific (thank you for answering on your weekend!) - with regular workers Routes, do all of those, from a "total size of isolate" perspective get compiled down the same way? and even with the goal to shrink cold starts, is there a benefit today to, with multiple routes, splitting out those workers?
Technically it's the opposite, the more you combine, the less chances the Worker is cold. But cold starts aren't really that big of an issue on paid plans, if at all.
OH that's a fair point. and yeah, but as we're looking at moving over, we're pulling in some large WASM bits - hopefully eventually we can drag those out from R2, but we're early in this process.