4 points · by tb100 · 5y ago · 1 comment
There are so many threads on CORS around StackOverflow and the AWS forums and users tend to assume they've got something wrong in their configuration, or blame the browsers for returning a cached response that they are completely entitled to do. "Solutions" are always given to ensure all requests are cross origin (such as by `<img crossorigin ...`) or cache-busting with a query parameter.
S3's CORS implementation came out in 2012 and has never managed to get this right as far as I can tell. They did add a `Vary: Origin` header to their CORS responses in April 2013 - https://forums.aws.amazon.com/thread.jspa?threadID=103402&st... - but still now over 8 years later their non-CORS responses don't have this header.