diff options
author | equinox <equinox@diac24.net> | 2011-09-27 08:01:14 +0200 |
---|---|---|
committer | equinox <equinox@diac24.net> | 2011-09-27 08:01:14 +0200 |
commit | 2066915a49fa45aeb2bc3ed79b7c6e0484b8d0af (patch) | |
tree | 9c7028cf5b09f38023fade23a70f485a4d1eea19 /index.py | |
parent | 2a13c8256b2b64c3c61e043a1d9268b75a4597a4 (diff) |
i18n support
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, }, } |