Cache S3 uploads for a year
@@ -32,6 +32,11 @@ AWS_S3_REGION_NAME = env("AWS_REGION_NAME", default="eu-central-1")
AWS_ACCESS_KEY_ID = env("AWS_ACCESS_KEY_ID", default=None)
AWS_SECRET_ACCESS_KEY = env("AWS_SECRET_ACCESS_KEY", default=None)
+AWS_QUERYSTRING_AUTH = False
+AWS_S3_FILE_OVERWRITE = False
+AWS_S3_OBJECT_PARAMETERS = {"CacheControl": "public, max-age=31536000"}
+AWS_DEFAULT_ACL = "public-read"
+
EMAIL_BACKEND = env(
"EMAIL_BACKEND", default="django.core.mail.backends.locmem.EmailBackend"
)
