Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Amazon S3 allows the developer to provide additional headers when uploading content to a bucket. In high traffic sites which use CDN to distribute the content stored in S3 its necesary to configure the max-age cache-control header to be able to configure when an asset should be expired. We have added the option to configure the max-age for a bucket in the configuration screen. We are providing a patch for this feature in case the mainteiner would like to add it to the S3 serice.
Comments
Comment #2
Perignon CreditAttribution: Perignon commentedI never turn a patch down if it adds value or betters the module!
Comment #3
marcosdmyr CreditAttribution: marcosdmyr commentedComment #4
marcosdmyr CreditAttribution: marcosdmyr commentedComment #5
marcosdmyr CreditAttribution: marcosdmyr commentedComment #6
marcosdmyr CreditAttribution: marcosdmyr commentedComment #7
Perignon CreditAttribution: Perignon commentedThanks for the patch. I will get it reviewed in my next cycle of work on the module.
Comment #9
marcosdmyr CreditAttribution: marcosdmyr commentedComment #10
marcosdmyr CreditAttribution: marcosdmyr commentedComment #11
marcosdmyr CreditAttribution: marcosdmyr commentedComment #13
Perignon CreditAttribution: Perignon commentedI see lots of small patches fail. I will look into it manually.
Comment #15
Perignon CreditAttribution: Perignon commentedComment #16
Perignon CreditAttribution: Perignon commentedThanks for the contributions!
Comment #17
marcosdmyr CreditAttribution: marcosdmyr commentedThanks to you for revising the patch Perignon!
Comment #18
Perignon CreditAttribution: Perignon commentedYeah just some minor clean ups. #title should be untranslated text to keep from calling t() twice, core does it for you :-D