How does CSS loading in Shopify 2.0 sections affect Dawn theme's performance?

Shopify Partner
3 0 1

Question about the new Dawn theme for 2.0 what really confuses us about these Shopify 2.0 sections, it loads the CSS in per use of section, so if you had like 4 rich text blocks you're loading that rich text stylesheet in 4 times on one page?

We can see on Lighthouse that the Dawn theme is scorning really high. So how come Shopify have took this approach instead of loading one large style sheet and do you think it's best practise when developing new sections to keep this approach?

I am guessing Shopify thought you might only use one of a specific section per page maybe? Also what makes the Dawn theme score really well on Lighthouse?

Would be great to hear your thoughts on this.



Replies 0 (0)