mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-11 09:28:27 -04:00
Merge pull request #2611 from alphagov/set-s3-cache-headers
Set far-future cache headers on S3 assets
This commit is contained in:
2
Makefile
2
Makefile
@@ -99,7 +99,7 @@ upload-paas-artifact:
|
||||
|
||||
.PHONY: upload-static ## Upload the static files to be served from S3
|
||||
upload-static:
|
||||
aws s3 cp --region eu-west-1 --recursive ./app/static s3://${DNS_NAME}-static
|
||||
aws s3 cp --region eu-west-1 --recursive --cache-control max-age=315360000,immutable ./app/static s3://${DNS_NAME}-static
|
||||
|
||||
.PHONY: test
|
||||
test: venv ## Run tests
|
||||
|
||||
Reference in New Issue
Block a user