Fixed caching of main page

Got broken by 62890ef73a
This commit is contained in:
Gina Häußge committed 2017-03-01 18:28:37 +01:00
1 parent c765e6e228
commit d845257cf4
1 file changed
+1 -1
+1 -1
View File
@@ -301,7 +301,7 @@ def index():
decorated_view = view
decorated_view = util.flask.lastmodified(lambda _: compute_lastmodified())(decorated_view)
decorated_view = util.flask.etagged(lambda _: compute_etag(additional=cache_key()))(decorated_view)
decorated_view = util.flask.etagged(lambda _: compute_etag(additional=[cache_key()] + additional_etag))(decorated_view)
decorated_view = util.flask.cached(timeout=-1,
refreshif=validate_cache,
key=cache_key,