Skip to main content
edited tags; edited title
Link
Nick Benson
  • 1.8k
  • 9
  • 18

Replace File using Assets with S3 + Cloudfront

Source Link
Nick Benson
  • 1.8k
  • 9
  • 18

Replace File using Assets with S3

I'm attempting to replace an existing JPG image on S3 that's managed by Assets, but it appears the new file doesn't replace the existing one on S3.

My first thought was that it was an issue with browser caching, but I have it disabled, and, when viewing the file's URL in a different browser, I still see the old image, so, I'm confident the new file isn't ever making it to S3.

I do not see any errors in the EE control panel; everything else is working without any problems (upload, delete, move, etc.).

Steps to Reproduce:

  • Upload a file to S3 in the EE CP using Assets
  • Upload another file with the same name to to same folder
  • Select "replace the existing file" at the prompt
  • Right click the thumbnail/file, view file; file on S3 hasn't been updated.

This install is on EE 2.7.2 with Assets 2.2.2. Will not be able to provide credentials for troubleshooting, as it's behind a VPN on infrastructure I cannot modify; hopefully you can reproduce in your test environment.