You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello there!
According to the documentation, to set the expiration date for S3, we should set a timestamp after how long files will be deleted, but in fact, this param Expires is about when files will be deleted. -s3.params.Expires=31536000 to set expire to one year. it sets for AWS S3 Friday, January 1, 1971 00:00:00 GMT
Thus, for proper expiration time, we have to do something like this: -s3.params.Expires=$(($(date +%s) + 31536000))
Feature/improvement
Hello there!
According to the documentation, to set the expiration date for S3, we should set a timestamp after how long files will be deleted, but in fact, this param
Expires
is about when files will be deleted.-s3.params.Expires=31536000 to set expire to one year.
it sets for AWS S3Friday, January 1, 1971 00:00:00 GMT
Thus, for proper expiration time, we have to do something like this:
-s3.params.Expires=$(($(date +%s) + 31536000))
Links on the documentation where mention it:
https://www.sitespeed.io/documentation/sitespeed.io/s3/#extra-configuration
https://www.sitespeed.io/documentation/sitespeed.io/configuration/
The text was updated successfully, but these errors were encountered: