From 9b418b40dae811cbcd43a8c01c59e01f3f80f7d0 Mon Sep 17 00:00:00 2001 From: Jason Mayo Date: Mon, 10 Dec 2018 10:27:29 +0000 Subject: [PATCH] Removed cache on page types as cache is per block --- templates/_page/types/page.twig | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/templates/_page/types/page.twig b/templates/_page/types/page.twig index 75dcc6e8..33e0da60 100755 --- a/templates/_page/types/page.twig +++ b/templates/_page/types/page.twig @@ -10,15 +10,13 @@ {# ------- Template ------- #} {% block content %} - {%- cache globally using key 'site-footer' -%} - {%- minify -%} - {# - {% for block in entry.matrix %} - {% include '_blocks/' ~ block.type %} - {% endfor %} - #} - {%- endminify -%} - {%- endcache -%} + {%- minify -%} + {# + {% for block in entry.matrix %} + {% include '_blocks/' ~ block.type %} + {% endfor %} + #} + {%- endminify -%} {% endblock %} {# ------- Critical ------- #}