Magento 2 where to add `<link rel=preload>`
-
15-04-2021 - |
문제
I'm doing some page speed optimization and it says that I should preload some icons.
I've got this command but I can't find where to add it, they say that It should be added to the <head>
but I'm not sure where. I tried adding it to my default_head_blocks.xml but it broke the site:
<link rel="preload" href="font.woff2" as="font" type="font/woff2" crossorigin>
I've been following this but they don't tell where to add it.
올바른 솔루션이 없습니다
다른 팁
Hei!
Have a look on this. I guess you can add that on the HTML head.
제휴하지 않습니다 magento.stackexchange