From 98d518817f55e930b3af94b6c8e037c473350482 Mon Sep 17 00:00:00 2001 From: Paul Fioravanti Date: Wed, 24 Oct 2018 01:32:41 +1100 Subject: [PATCH] Revert caching for comments and analytics. Fixes #1905 (#1907) --- CHANGELOG.md | 1 + _includes/scripts.html | 4 ++-- _layouts/default.html | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e3861a35..a917d36e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,7 @@ - Fix Lunr search index merging words. [#1883](https://github.com/mmistakes/minimal-mistakes/issues/1883) - Properly apply `relative_url` filter to internal links in header overlay `actions` array. +- Revert cached includes (`include_cached`) for comment and analytics providers. [#1905](https://github.com/mmistakes/minimal-mistakes/issues/1905) ## [4.13.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.13.0) diff --git a/_includes/scripts.html b/_includes/scripts.html index 8d2b30f4..1177ecfd 100644 --- a/_includes/scripts.html +++ b/_includes/scripts.html @@ -24,5 +24,5 @@ {%- endcase -%} {% endif %} -{% include_cached analytics.html %} -{% include_cached /comments-providers/scripts.html %} +{% include analytics.html %} +{% include /comments-providers/scripts.html %} diff --git a/_layouts/default.html b/_layouts/default.html index 0cdcd059..4a81e4b7 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -36,7 +36,7 @@ - {% include_cached scripts.html %} + {% include scripts.html %} - \ No newline at end of file +