Resources priority

Posted in: Newsmag
Post count: 59

Hi tagdivs friends,
Google insights suggests that I solve the following problem with a newsmag file, but I don’t know how to do it, which file should be edited and how to do it, please?
Thank you
Image: https://imgur.com/a/9MoeWoa
Image

Post count: 35449

Hi TheZugzwangBlog,
If I’m right that suggestion is to set the rel=preload in link that is loading the icons/newsmag.woff?14 if is so then the files are these:
– wp-content/themes/Newsmag/editor-style.css -> https://i.imgur.com/RxJZuvM.png
– wp-content/themes/Newsmag/style.css -> https://i.imgur.com/GPiOfCI.png
– wp-content/themes/Newsmag/editor-style.css -> https://i.imgur.com/3VqYovQ.png

Hope this will help you!
Thank you!

Post count: 59

Hi Calin,
Thanks a lot for your help.
Could you tell me how I should write the code please? Is it correct this way?

src: url(‘images/icons/newsmag.eot?14#iefix’) format(’embedded-opentype’), url(‘link rel=”preload”images/icons/newsmag.woff?14’) format(‘woff’), url(‘images/icons/newsmag.ttf?14’) format(‘truetype’), url(‘images/icons/newsmag.svg?14#newsmag’) format(‘svg’);

Post count: 35449

Hi,
I do not think that is the right way to set it.
I think that you need to set the rel="preload" on the code line that has the font as in this example -> https://stackoverflow.com/questions/63049540/how-to-apply-link-rel-preload-to-font-face
Thank you!

Post count: 35449

Hi TheZugzwangBlog,
In this similar topic Amit provided a solutions for how to set the rel="preload" for these fonts -> https://forum.tagdiv.com/topic/score-100100-pagespeed-with-newspaper-wordpress-theme/page/4/
Hope this will help you too!
Have a nice week!

Viewing 5 posts - 1 through 5 (of 5 total)
The forum ‘Newsmag’ is closed to new topics and replies.