Using fetchpriority in html #2621
Unanswered
romanspb81-web
asked this question in
General
Replies: 2 comments
-
|
Hi @romanspb81-web - temporary solution:
In v.0.47.7 I will try to whitelist this attribute so it will be allowed by default :) |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Hi, More about the new release: https://getpublii.com/blog/release-047.html#hotfix-0-47-7 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello. When generating the page via HTML code, it seems that normalization occurs upon saving, which strips out 'unnecessary' attributes. In my case, it removes fetchpriority="high" from my
tags, but I need it to stay. How can I fix this?
The core issue is that when an image is the first element in the theme, it becomes the Largest Contentful Paint (LCP) element and therefore must be rendered with loading="eager" and fetchpriority="high".
Beta Was this translation helpful? Give feedback.
All reactions