Set cache header

Signed-off-by: Bryan Frimin <bryan@getprobo.com>
This commit is contained in:
Bryan Frimin
2026-03-06 14:59:34 +01:00
parent c63a0b7ded
commit 54f80596b6
11 changed files with 51 additions and 39 deletions

View File

@@ -190,7 +190,8 @@ func UploadStaticAssets(ctx context.Context, s3Client *s3.Client, staticAssetsBu
Metadata: map[string]string{
"type": "static-email-asset",
},
ContentType: aws.String(mimeType),
ContentType: aws.String(mimeType),
CacheControl: aws.String("max-age=3600, public"),
},
)
if err != nil {