change cache control for thumbnails
This commit is contained in:
parent
25e49f8ff2
commit
d520ff2c68
1 changed files with 6 additions and 5 deletions
|
@ -66,6 +66,7 @@ func (u *thumbnailUploader) uploadThumbnail() error {
|
|||
Body: thumb,
|
||||
ACL: aws.String("public-read"),
|
||||
ContentType: aws.String("image/jpeg"),
|
||||
CacheControl: aws.String("public, max-age=2592000"),
|
||||
})
|
||||
u.mirroredUrl = ThumbnailEndpoint + u.name
|
||||
return errors.Err(err)
|
||||
|
|
Loading…
Reference in a new issue