From c3825efe26f159101fb8c3698f58be76a724bee4 Mon Sep 17 00:00:00 2001 From: George Lacey Date: Tue, 18 May 2021 18:04:20 +0100 Subject: [PATCH] Cache all base scripts --- borgweb/borg/templates/borg/base.html | 6 +++--- borgweb/borg/templates/borg/index.html | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/borgweb/borg/templates/borg/base.html b/borgweb/borg/templates/borg/base.html index 905a562..3f0a300 100644 --- a/borgweb/borg/templates/borg/base.html +++ b/borgweb/borg/templates/borg/base.html @@ -6,21 +6,21 @@ {% load static %} {% load cache %} - {% block script %} - {% cache 3600 sass %} + {% cache 3600 script %} {% load compress %} {% compress css %} {% endcompress %} {% endcache %} + + {% block script %} {% endblock %} {% block title %}Title{% endblock %} - {% cache 3600 navbar %}