From 00c6e91c638ab10744bcc6979b0fdf8129c35f87 Mon Sep 17 00:00:00 2001 From: George Lacey Date: Tue, 18 May 2021 17:04:23 +0100 Subject: [PATCH] Cache navbar for an hour --- borgweb/borg/templates/borg/base.html | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/borgweb/borg/templates/borg/base.html b/borgweb/borg/templates/borg/base.html index dac08c4..905a562 100644 --- a/borgweb/borg/templates/borg/base.html +++ b/borgweb/borg/templates/borg/base.html @@ -3,10 +3,10 @@ - - {% block script %} {% load static %} {% load cache %} + + {% block script %} {% cache 3600 sass %} {% load compress %} @@ -20,6 +20,8 @@ {% block title %}Title{% endblock %} + +{% cache 3600 navbar %} +{% endcache %} {% block body %}{% endblock %}