Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

font preload warning in Search Console #24

Open
worldsdream opened this issue Sep 28, 2020 · 1 comment
Open

font preload warning in Search Console #24

worldsdream opened this issue Sep 28, 2020 · 1 comment

Comments

@worldsdream
Copy link

I am getting the following warning in Google Search console. That's because I have the fonts preloaded (best practices).

Can you please update the plugin that if the syntax highlighter is NOT being used on the page, it should NOT load the font.

The resource https://domain/wp-content/plugins/urvanov-syntax-highlighter/fonts/consolas/consolas-webfont.woff was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate as value and it is preloaded intentionally.

@urvanov-ru
Copy link
Owner

Yes, it is good task. You are right. I will try to fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants