A
A
Alexander92922020-10-28 12:49:24
css
Alexander9292, 2020-10-28 12:49:24

How to correctly set rel preload according to google page speed?

I'm doing site optimization and I came across this item on Google Page Speed:

Настройте предварительную загрузку ключевых запросов 0,63 s
Чтобы основные ресурсы загружались в первую очередь, используйте для них элемент `<link rel=preload>`. 
URL
Потенциальная экономия
…EuclidFlex/EuclidFlex-Medium.woff2(sniper24.beget.tech)
630 ms
…Gilroy/Gilroy-Extrabold.woff2(sniper24.beget.tech)
480 ms
…Gilroy/Gilroy-Medium.woff2(sniper24.beget.tech)
330 ms
…EuclidFlex/EuclidFlex-Regular.woff2(sniper24.beget.tech)
330 ms
…EuclidFlex/EuclidFle….woff2(sniper24.beget.tech)
180 ms
…Gilroy/Gilroy-Bold.woff2(sniper24.beget.tech)
180 ms
…EuclidFlex/EuclidFlex-Bold.woff2(sniper24.beget.tech)
180 ms


After that I added rel preload:
<link rel="preload" href="./css/style.css" as="style">
    <link rel="stylesheet" href="./css/style.css">


But Page Speed ​​still issues the above requirement as if it doesn't exist.

What could be the problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
Julia Moroz, 2020-10-29
@yulyamoroz89

How to set up preloading of key data on a static site aqua-burenie.by

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question