summaryrefslogtreecommitdiff
path: root/index.py
diff options
context:
space:
mode:
Diffstat (limited to 'index.py')
-rwxr-xr-xindex.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/index.py b/index.py
index 9f78ea0..cc36806 100755
--- a/index.py
+++ b/index.py
@@ -171,15 +171,17 @@ config = {
'/': {
'tools.decode.on': True,
'tools.encode.on': True,
+ 'tools.encode.encoding': 'utf-8',
+ 'tools.encode.add_charset': True,
'tools.gzip.on': True,
'tools.proxy.on': True,
-# 'tools.caching.on': False,
-# 'tools.expires.secs': 0,
-# 'tools.expires.force': True,
},
'/static': {
'tools.staticdir.on': True,
'tools.staticdir.dir': 'static',
+ 'tools.caching.on': True,
+ 'tools.expires.secs': 3600,
+# 'tools.expires.force': True,
},
}