changeset 1333:3411ec23c389

browser (template): use nunjucks cache
author Goffi <goffi@goffi.org>
date Fri, 14 Aug 2020 09:31:32 +0200
parents a75d82713a02
children 5ff6e187084f
files libervia/pages/_browser/template.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libervia/pages/_browser/template.py	Fri Aug 14 09:31:32 2020 +0200
+++ b/libervia/pages/_browser/template.py	Fri Aug 14 09:31:32 2020 +0200
@@ -12,6 +12,7 @@
         'autoescape': True,
         'trimBlocks': True,
         'lstripBlocks': True,
+        'web': {'useCache': True},
     })
 
 nunjucks.installJinjaCompat()