WebSite X5Help Center

 
Nektarios K.
Nektarios K.
User

"fetchpriority=high"  en

Autor: Nektarios K.
Visitado 263, Seguidores 2, Compartilhado 0  

Hi there,

I have attempted to use the "fetchpriority=high" feature for one of the images on my website, but I have not seen any results despite trying various methods. Is there any code available through htaccess that can be used before or after the HTML tag is opened or closed? I would greatly appreciate any advice you can offer.

Pagespeed Insights results are 100 for all tests in mobile and desktop

https://pagespeed.web.dev/analysis/https-www-pamsmaritime-com/712h0iw5p7?form_factor=mobile

Regards,

Nek

Publicado em
3 RESPOSTAS
Klaus G.
Klaus G.
User

Hallo Nektarios,

wenn PageSpeed schon je 100% anzeigt, benötigst du kein "fetchpriority=high".

Die Frage wäre also "WARUM" dann „fetchpriority=high“ ????

Gruß

KLAUS

Ler mais
Publicado em de Klaus G.
Klaus G.
Klaus G.
User

Wenn dann wäre es   <script>fetchpriority=high("/data.PAMS-LOGO.jpg",{method: "GET",credentials: "include",mode: "cors",})</script>

Einfügen unter Seiten Eigenschafenten nach dem <Head> Tag.

Ob es was bringt, sei mal dahin gestellt.   ???????

Gruß

Klaus

Ler mais
Publicado em de Klaus G.
Nektarios K.
Nektarios K.
User
Autor

Dear Klaus,

Thanks for your message above.

I added the following line <link rel="preload" as="image" href="/images/PAMS-Maritime.jpg" fetchpriority="high"> before closing the HEAD tag, and the remarks from the pageSpeed Insights are gone. 

Thanks, and Regards

Nek 

Ler mais
Publicado em de Nektarios K.