diff --git a/apps/bolt-site/templates/_site-footer.twig b/apps/bolt-site/templates/_site-footer.twig index 836972e63f..471d363a8b 100644 --- a/apps/bolt-site/templates/_site-footer.twig +++ b/apps/bolt-site/templates/_site-footer.twig @@ -6,6 +6,8 @@ {% set assets = [] %} {% endif %} - +{% set cacheBuster = bolt.data.config.prod ? "?v=" ~ bolt.data.fullManifest.version : "" %} + + diff --git a/apps/bolt-site/templates/_site-head.twig b/apps/bolt-site/templates/_site-head.twig index e818b53d3d..24d10c2398 100644 --- a/apps/bolt-site/templates/_site-head.twig +++ b/apps/bolt-site/templates/_site-head.twig @@ -18,6 +18,7 @@ {% endif %} {% set hasSidebar = nestedPages or sidebar %} +{% set cacheBuster = bolt.data.config.prod ? "?v=" ~ bolt.data.fullManifest.version : "" %} @@ -56,7 +57,7 @@ - + {# @TODO: wire this up to use Critical CSS #}