I can’t seem to find this anywhere, so I thought I’d ask here. Does Workers have a limit on how big the body of the response can be? Maybe a limit on the response in general? Just trying to figure out if the numbers makes sense for my use case. Thanks!
The only limit is the actual CPU time. If that is satisfied you can do whatever you want. I would suggest you try in case you are in doubt.
It’s free for up to 100k reqs/day.
Make sure to load test fully, it might looks like it works well when you try a few requests but then it will constantly fail when load is applied.
In my tests, a single request can handle about 1MB of JSON data, the same applies to HTML, though if you use the HTMLRewriter feature, you an process a lot more because it’s streaming the parsing.