3 Replies
You'd have to use a Worker to transform the paths, and you'd be paying for each request as a worker invocation, no easy way
If you could have cdn subdomain point to the same origin/host and have it accept the cdn subdomain as well, you could then just use a transform rule to rewrite the path and append /uploads to it
Don't origin rules also allow you to achieve something like that?
With an Enterprise plan
with ent you could go with the second idea there with a transform rule and use an origin rule/page rule to rewrite the host header/change dns lookup if you couldn't also allow cdn