Linux 软件免费装
Banner图

Helper Lite for PageSpeed

开发者 seojacky
mihdan
karenka
wdup
更新时间 2024年11月15日 20:06
PHP版本: 7.4 及以上
WordPress版本: 6.2
版权: GPLv2 or later
版权网址: 版权信息

标签

seo image optimization lazy load page speed pagespeed lighthouse perfomance seo-friendly optimaze optimaze images

下载

2.5.2 3.1.6.2 2.5.3 2.5.4 2.5.5 2.5.6 2.5.7 2.5.8 3.0.1 3.0.2 3.0.3 3.0.4 3.0.5 3.0.6 3.0.8 3.0.9 3.0.7 3.1.7 3.0.10 2.4 2.5 3.1.2 2.4.1 3.1.0 2.5.1 3.0 3.1.3 3.1.4 3.1.5 3.1.1 3.1.6 3.1.6.1

详情介绍:

Speed up your site with attributes decoding="async" & loading="lazy" for <img> and <iframe>. Removes problem "Does not use passive listeners to improve scrolling performance". Help to Up Your Google PageSpeed Insights Score. The main development is all going on GitHub. Translations Help translate Helper Lite for PageSpeed Contribution Developing plugins is long and tedious work. If you benefit or enjoy this plugin please take the time to:

安装:

From your WordPress dashboard
  1. Visit 'Plugins > Add New'
  2. Search for 'Helper Lite for PageSpeed'
  3. Activate Helper Lite for PageSpeed from your Plugins page.
  4. [Optional] Configure plugin in 'WP Booster > PageSpeed Helper'.
From WordPress.org
  1. Download Helper Lite for PageSpeed.
  2. Upload the 'helper-lite-for-pagespeed' directory to your '/wp-content/plugins/' directory, using your favorite method (ftp, sftp, scp, etc...)
  3. Activate Helper Lite for PageSpeed from your Plugins page.
  4. [Optional] Configure plugin in 'WP Booster > PageSpeed Helper'.

屏幕截图:

  • After activating the plugin
  • Tab Setting on Plugin Settings Page
  • Tab Script on Plugin Settings Page

常见问题:

What does the plugin do?

  • Adds decoding="async" & loading="lazy" attributes to all images on the page. It has been experimentally proven that the combination of these attributes speeds up page load by 0.1-0.2 seconds and increases Your Google PageSpeed Insights Score.
  • Adds loading="lazy" attributes to all <iframe> on the page.
  • You can include a script that removes the Google PageSpeed Insights remark "Does not use passive listeners to improve scrolling performance"

In WordPress 5.5 and up, images are lazy loaded by default. Why is this plugin needed?

By default, WordPress add a loading="lazy" attribute to the following images:

  • images within post content
  • images within post excerpts
  • images within text widgets
  • avatar images
  • template images using wp_get_attachment_image() But WordPress does not add loading="lazy" for custom images in the header and footer of the site! In this case, our plugin will help you.

Where are the plugin settings?

The settings are located at the section of the admin panel WP Booster > PageSpeed Helper

How to set up?

  1. In the first tab ‘Settings’ you can choose how to add attributes.
  2. The first method ‘Filters’ is safe, but does not apply attributes to all images.
  3. The second method ‘Buffer’ will add attributes to all images, but may cause problems on some sites.
  4. You can choose what values set to attributes or turn off them at all.
  5. At the second tab ‘Scripts’ you can turn on a script, which removes the Google PageSpeed Insights remark “Does not use passive listeners to improve scrolling performance”.

What is 'Does not use passive listeners to improve scrolling performance' ????

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.

I installed the plugin but my Google PageSpeed Insights score did not increase

  • Clear cache on your site
  • The maximum effect will be on page with images. No images - no result
  • Plugin does not affect images added to background via css, for the simple reason that it is impossible to add decoding="async" and loading="lazy" attributes to them. The plugin only works with images added via the <img> tag.

Disabling LazyLoad on Specific Images

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.

What is LQIP?

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.

Contribute

Helper Lite for PageSpeed is now on GitHub. Pull Requests welcome.

更新日志:

3.1.7 (15.11.2023) 3.1.6 (22.04.2023) 3.1.5 (20.04.2023) 3.1.4 (30.04.2022) 3.1.3 (21.11.2021) 3.1.2 3.1.1 (15.11.2021) 3.1.0 (30.05.2021) 3.0.10 (20.05.2021) 3.0.9 (12.02.2021) 3.0.8 3.0.6 3.0.5 3.0.4 3.0.3 3.0.2 3.0.1 3.0 2.5.8 2.5.7 2.5.6 2.5.4 2.5.3 2.5.2 2.5.1 2.3.8 (17.07.2020) 2.3.7 2.3.3 2.2 2.1 2.0 (10.07.2020)