We used to use the Enable Media Replace plugin and when we first migrated to Amazon S3 & Cloudfront it seemed to work, so long as versioning was enabled we chose the "Replace the file, use new filename, and update all links" option (vs. just "Replace the File"). For some reason, it no longer appears to work. I suspect it might have to do with enabling the "Remove uploaded file from local filesystem" as we're now serving our site from multiple ec2 instances. Is there a configuration that will interoperate with the Media Replace plugin again?
Alternatively, perhaps it would be possible to add a "Replace File on Cloudfront" functionality to this plugin that would replace a file, and attachment links, with a new version? The new file would probably have to be versioned, although incorporating automatic invalidation of the original file might allow the reuse of filenames, which might be convenient for some users.
We used to use the Enable Media Replace plugin and when we first migrated to Amazon S3 & Cloudfront it seemed to work, so long as versioning was enabled we chose the "Replace the file, use new filename, and update all links" option (vs. just "Replace the File"). For some reason, it no longer appears to work. I suspect it might have to do with enabling the "Remove uploaded file from local filesystem" as we're now serving our site from multiple ec2 instances. Is there a configuration that will interoperate with the Media Replace plugin again?
Alternatively, perhaps it would be possible to add a "Replace File on Cloudfront" functionality to this plugin that would replace a file, and attachment links, with a new version? The new file would probably have to be versioned, although incorporating automatic invalidation of the original file might allow the reuse of filenames, which might be convenient for some users.