Question

Does DO Spaces support caching signed URLS?

If I generate a signed URL with the CDN endpoint I get a SignatureDoesNotMatch error. If I generate the signed URL with the normal (non-CDN) endpoint and manually replace sfo2.digitaloceanspaces.com with sfo2.cdn.digitaloceanspaces.com, it appears to work, but I believe this is actually caching the entire signed URL, meaning that if I generate a new URL for the same object it won’t come from the CDN because the query parameters are different. Is there support for signed CDN URLs like there is on CloudFront? I’ve found a post on the ideas website, but it hasn’t been updated in a while. Is this currently possible or something coming soon?

Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer