Reputation: 1597
I set expiration dates on objects through the API. It's now May and many of these objects expired in March. All the docs say expired objects will be wiped on a daily basis but I think something is wrong.
Upvotes: 0
Views: 2315
Reputation: 270144
The Expires
metadata field is used to control caching of objects in browsers and CDNs. It is not related to actually deleting objects from Amazon S3.
If you wish to automatically delete objects from Amazon S3 after a certain period of time, you should crate a Lifecycle Rule.
See: Object Lifecycle Management - Amazon Simple Storage Service
Upvotes: 1