How do you pull a new image (eg on a timer) from an AWS Signed URL from a React app.
The image is being displayed using an <img src=signedurl />
This is similar to this question, except using a typical cachebreaker (e.g. adding a random query string parameter) does not work. AWS does not allow for additional query strings and results in the following error:
<Error>
  <Code>SignatureDoesNotMatch</Code>
  <Message>
    The request signature we calculated does not match the signature you provided. Check your key and signing method.
  </Message>
  ...
</Error>
The structure I am trying to build this around is
- client receives a pre-signed url (after authentication/authorization) to somebucket/some.jpg.
- backend process is uploading a new image and replacing some.jpg every X minutes.
- client needs to refresh every Y minutes and retrieve the most updated image.
