Re:Code Everywhere: Why We Built Cloudflare Workers
by predakanga on Saturday September 30, 2017 @08:49AM
(#15372621)
To clarify, yesterday you mentioned that subrequests go through the regular caching subsystem.
Does this hold true even for subrequests to your own zone, where you say here that they go directly to the origin server?
If a request bounces back such that the same worker script would need to run twice as a result of a single original request, then it fails with an error. There's nothing else we can do here: we can't let the request loop, but we also can't let it skip your script after it's bounced through a third-party script.