Add cache header for static files

This commit is contained in:
Oliver Marks 2018-01-27 16:56:06 +00:00
parent 4958b15034
commit 8eeecaae24
1 changed files with 4 additions and 0 deletions

View File

@ -491,3 +491,7 @@ MATRIX_PASSWORD=env('MATRIX_PASSWORD')
MATRIX_ROOM=env('MATRIX_ROOM')
MSG_PREFIX = 'MH'
X_FRAME_OPTIONS = 'SAMEORIGIN'
AWS_S3_OBJECT_PARAMETERS = {
'CacheControl': 'max-age=86400',
}