From: Charles Connell Date: Fri, 25 Apr 2014 12:23:36 +0000 (-0400) Subject: Lengthen validity period for compressed assets X-Git-Tag: release-20150131~124 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c4e0b4f21225bda352280d67bb32920ddfe0b0ba;p=oweals%2Fkarmaworld.git Lengthen validity period for compressed assets --- diff --git a/karmaworld/settings/prod.py b/karmaworld/settings/prod.py index 48aa543..88462ab 100644 --- 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