Efficient caching for presigned S3 buckets ?
I am using a CF Worker as a front to an S3 bucket. The worker fetches the file from S3 bucket using AWS sdk to presign the request (the bucket is not publicly accessible)
It works okay, but I get a cache MISS every time because the URL that goes to S3 contains the signature key in a query parameter.
It's not clear to me how to resolve the cache MISS issue, does anyone have an idea ?
Please see here:
https://community.cloudflare.com/t/worker-fetch-to-cdn-cgi-media-fails-with-error-1042/830737/3?u=michaeld
1 Reply
You can try the ignore query string rule?