From c4e0b4f21225bda352280d67bb32920ddfe0b0ba Mon Sep 17 00:00:00 2001 From: Charles Connell Date: Fri, 25 Apr 2014 08:23:36 -0400 Subject: [PATCH] Lengthen validity period for compressed assets --- karmaworld/settings/prod.py | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.25.1