projects
/
oweals
/
karmaworld.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
507e7a4
)
Lengthen validity period for compressed assets
author
Charles Connell
<charles@connells.org>
Fri, 25 Apr 2014 12:23:36 +0000
(08:23 -0400)
committer
Charles Connell
<charles@connells.org>
Fri, 25 Apr 2014 12:23:36 +0000
(08:23 -0400)
karmaworld/settings/prod.py
patch
|
blob
|
history
diff --git
a/karmaworld/settings/prod.py
b/karmaworld/settings/prod.py
index 48aa543881d63c1c33249e10b93daaee38deec64..88462abb837d9cb39d84cbd53d0b51950f5f5e44 100644
(file)
--- a/
karmaworld/settings/prod.py
+++ b/
karmaworld/settings/prod.py
@@
-163,6
+163,9
@@
COMPRESS_JS_FILTERS += [
]
COMPRESS_CLOSURE_COMPILER_BINARY = 'java -jar /usr/bin/compiler.jar'
+# Links generated by compress are valid for about ten years
+AWS_QUERYSTRING_EXPIRE = 60 * 60 * 24 * 365 * 10
+
########## END COMPRESSION CONFIGURATION