开发者 |
seojacky
mihdan karenka wdup |
---|---|
更新时间 | 2023年6月23日 20:58 |
PHP版本: | 7.4 及以上 |
WordPress版本: | 6.2 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
By default, WordPress add a loading="lazy" attribute to the following images:
The settings are located at the section of the admin panel WP Booster > PageSpeed Helper
This PSI note, for example, may appear on pages where the comment-reply.min.js script is loaded. Several other scripts can also lead to this remark.
If you want to disable LazyLoad on a specific image, you can do so by adding the skip-lazy
class to the <img> HTML tag.
LQIP (Low Quality Image Placeholders) - it is function which to enable webpages to load correctly in an orderly manner, displaying ultra small, blurry images while the actual version is loading, which works well with lazy loading in JavaScript. This effectively reduces LCP for mobile and desktop. This method only works for the first image on the page - Post Thumbnail.
Helper Lite for PageSpeed is now on GitHub. Pull Requests welcome.