diff options
Diffstat (limited to 'index.py')
-rwxr-xr-x | index.py | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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, }, } |