Bypassing cache from worker fetch
My worker is routed via a
https://example.domain.com
route, and internally makes sub-requests via fetch
to example2.domain.com
(origin)
Both are proxied behind cloudflare (orange cloud). I need to completely bypass cloudflare CDN, and return headers as they are returned by the origin server.
The issue is, no matter what I do, set cf
properties on fetch
, setting Vary
header on origin, trying to send everthing as a POST, Cloudlfare always mangles my header, most importantly stripping the ETAG from the origin.
If I set a page rule on the dashboard to example2.domain.com
, would this have any effect inside of the worker?0 Replies