Skip to content

Commit e76a7d0

Browse files
authored
Merge pull request #43 from magefan/improve-lcp
Improve LCP
2 parents 6397276 + 7942922 commit e76a7d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Plugin/BlockPlugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ protected function removeLoadingLazyAttributeFromFirstNImages(string $html, int
197197

198198
$newHtmlTag = str_replace(
199199
['loading="lazy"', '<img '],
200-
['', '<img mfdislazy="1" '],
200+
['', '<img mfdislazy="1" fetchpriority="high" '],
201201
$htmlTag
202202
);
203203

0 commit comments

Comments
 (0)