Skip to content

Commit

Permalink
Replace hardcoded bundles and files root dir.
Browse files Browse the repository at this point in the history
  • Loading branch information
glogiotatidis committed Mar 9, 2016
1 parent d6db44e commit 77c623c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions snippets/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,6 @@
# Full list of S3 endpoints http://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region
AWS_S3_HOST = config('AWS_S3_HOST')
AWS_CACHE_CONTROL_HEADERS = {
'files/': 'max-age=900', # 15 Minutes
'bundles/': 'max-age=2592000', # 1 Month
MEDIA_FILES_ROOT: 'max-age=900', # 15 Minutes
MEDIA_BUNDLES_ROOT: 'max-age=2592000', # 1 Month
}

0 comments on commit 77c623c

Please sign in to comment.