dcadenas
dcadenas
CDCloudflare Developers
Created by dcadenas on 10/3/2023 in #workers-help
Does Cloudflare enforce size limits on subrequest responses?
I'm currently deciding between sending all necessary data in the worker request payload or only sending an identifier and retrieving the data via a subrequest from an external API. I'm not overly concerned about the additional latency, so I'd prefer to avoid the request size limit even if it means a slight delay. However, I need to understand if there are any size limitations on the responses from subrequests. The documentation mentions that Cloudflare doesn't enforce response size limits, but it's unclear if this applies solely to worker responses or also includes the responses from worker subrequests. Can anyone clarify this?
2 replies