S3 Expires metadata
-
In the current version of this plugin (2.0.1), my media uploads to S3 using this plugin add an “Expires” metadata element to the uploaded files, with a date one year in the future.
Meanwhile https://aws.amazon.com/blogs/aws/amazon-s3-multi-object-deletion/ suggests that under some conditions, S3 will automatically delete the files for me based on this expires header.
But, I would rather not have my wordpress media automatically deleted after 1 year, even if someone else starts using expires rules in some other context.
So, question:
How do I prevent this expires metadata from being set on my uploads?
(Also, is there a good way of removing the metadata (but not the uploaded files) for existing uploads? I might be able to figure this out myself, but also I might overlook the best way to do it.)
- The topic ‘S3 Expires metadata’ is closed to new replies.