Duplicate code when inserting multiple equal sections

3 0 0

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.


My question is is this a serious performance problem or not? Especially in the sections that reuse certain components such as: price, card, list, etc.

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.





Replies 0 (0)