HueInDaHaus
CDCloudflare Developers
•Created by HueInDaHaus on 8/2/2023 in #workers-help
R2 bound worker + service worker with image resizing does not work
Ok maybe I've figured out something. According to https://developers.cloudflare.com/images/image-resizing/troubleshooting/ it says "There is another Worker running on the same request. Resizing is “forgotten” as soon as one Worker calls another. Do not use Workers scoped to the entire domain /*."
Does that mean that any fetch via service binding workers will prompt the resizing to be "forgotten" or whatever it means? Can someone clarify? When i set the R2 bound worker to a public route and call it not using env.SERVER.fetch but instead only fetch it seems to work.
5 replies
CDCloudflare Developers
•Created by HueInDaHaus on 8/2/2023 in #workers-help
R2 bound worker + service worker with image resizing does not work
And yes I have a pro plan and activated the image optimization functionality
5 replies
CDCloudflare Developers
•Created by HueInDaHaus on 8/2/2023 in #workers-help
R2 bound worker + service worker with image resizing does not work
Worker script:
5 replies