From 0dfa4ce686f35d88eb37b2d716064fbaa087ceb5 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Mon, 8 Jun 2020 15:04:08 +0000 Subject: [PATCH] location: Disable caching for the index page This page shows the user where they are visiting from which cannot be cached. Signed-off-by: Michael Tremer --- src/web/location.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/web/location.py b/src/web/location.py index a15bc701..3ba5fcf1 100644 --- a/src/web/location.py +++ b/src/web/location.py @@ -8,7 +8,7 @@ from .. import util from . import base -class IndexHandler(base.BaseHandler): +class IndexHandler(auth.CacheMixin, base.BaseHandler): def get(self): self.render("location/index.html", address=self.current_address) -- 2.39.2