diff --git a/CHANGELOG.md b/CHANGELOG.md index 212f1f04ac..85b1fffd08 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Add logic to collect Product Details data and send it to the BC App stencil template through custom event [#2270](https://github.com/bigcommerce/cornerstone/pull/2270) - Allow quantity of "0" in cart to remove item [#2266](https://github.com/bigcommerce/cornerstone/pull/2266) - Fix the issue with getting product details data if the product details form is valid on page load [#2271](https://github.com/bigcommerce/cornerstone/pull/2271) +- - Update key render-blocking resources to be preloaded via HTTP headers/Early Hints [#2261](https://github.com/bigcommerce/cornerstone/pull/2261) + ## 6.6.1 (09-14-2022) diff --git a/templates/layout/base.html b/templates/layout/base.html index 4fb0605c43..eb7edcc637 100644 --- a/templates/layout/base.html +++ b/templates/layout/base.html @@ -24,14 +24,13 @@ window.lazySizesConfig = window.lazySizesConfig || {}; window.lazySizesConfig.loadMode = 1; - + - {{getFontsCollection font-display='block'}} + {{getFontsCollection font-display='block' resourceHint='preload'}} - - + - {{{stylesheet '/assets/css/theme.css'}}} + {{{stylesheet '/assets/css/theme.css' resourceHint='preload'}}} {{{head.scripts}}} @@ -66,7 +65,7 @@ window.stencilBootstrap("{{page_type}}", {{jsContext}}).load(); } - + {{{footer.scripts}}}