這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Product image Lazy Loader for WooCommerce

描述

This plugin lazy loads WooCommerce product images on the shop and archive pages.

Credits

https://web.dev/lazy-loading-images/

安裝

  1. Download the .zip file
  2. Upload and extract the contents of the zip file to your wp-content/plugins/folder
  3. Activate the plugin from your WP-admin / Plugins
  4. Enjoy!

常見問題

How to add my own placeholder image?

  1. Open the wc-lazy-loader.php file in the plugin folder
  2. Scroll down to line 42
  3. Replace the “placeholder-image.png” with a valid place holder image URL from your website.

Why use event handlers and not IntersectionObserver API

Good question! Using event handlers is considered to be one of the most compatible ways to approach lazy loading that works pretty much on every browser. We will, however, be switching to IntersectionObserver API in the next release.

I installed the plugin. Did it make any difference in my performance?

You can use https://gtmetrix.com/ or https://developers.google.com/speed/pagespeed/insights/ to check. It would be a good idea to check your site before installing this plugin, and then again after installing and activating this plugin.

評價

2023年4月4日
I tried it on a site that has five WooCommerce product sliders on its front page and takes 30s to load - no difference in load time. Plugin hasn't been updated in 3 years and has no reviews, which suggests it's not very useful. Seems like a good idea to me though.
閱讀全部1個評價

貢獻者及開發者

“Product image Lazy Loader for WooCommerce” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

修改日誌

1.0

  • first release version