Liquid, JavaScript, themes, sales channels
Hello everyone, good day. Working with the Dawn theme, I realized that when inserting a section more than once, the CSS code is duplicated. I understand that this happens because the section calls its own CSS and JavaScript.
And if someone has found a way to minimize the problem or fix it. It only occurs to me to have a global file that is called site-wide, but it would be calling potentially unused code.
I'm curious about this myself. I noticed they regularly do this in the Dawn theme with certain components, and as far as I can tell the stylesheet would be included multiple times on the page. I would assume if they do it in Dawn then it's considered okay?
Do Shopify optimise this with their CDN in any way, however? I can't find any documentation on this.
Explore the 30-30-30 rule, a dynamic social media strategy for new businesses. Learn how t...
By Trevor Sep 20, 2023Discover how to leverage the often overlooked footer of your ecommerce site to gain custom...
By Skye Sep 15, 2023In this blog, we’ll be shining a light on Shopify Partners, Experts, and Affiliates. Who a...
By Imogen Sep 13, 2023