Cloudflare snippets subrequest count issue.
Cloudflare snippets have just 2 sub request limit for snippets, but i am able call fetch inside snippet with a url, which has 4 redirect calls and its still working.
How is it possible ?
Also, FYI, when i change the extenal api call url to a url which has 5 redirects, then it hits sub request limits.
Is the API documentation wrong , or is it a cloudflare issue, or am i missing something.
Also, if someone from cloudflare is checking this issue,
252d4daf4843ff1b2e05720f148a7527/flexpilot.ai
here is my domain info3 Replies
edit: ah yes I'm wrong - it is multiple, makes sense
@Walshy No, but if i create a url with more than 5 redirect, basically following the same one, it says subrequest limit exceeded. Ideally if redirects aren't different subrequests , then it should not throw that error, right ?
@Walshy , As @Leo mentioned, in the docs also, its mentioned each redirect is a subrequest.
Its also mentioned both in snippets docs and workers docs too. here is https://developers.cloudflare.com/workers/platform/limits/#how-many-subrequests-can-i-make , workers doc link for the same