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

Lazy Load Divi Slider Backgrounds

外掛說明

Optimize your website’s image delivery by lazy loading slider backgrounds.
This plugin works only with the Divi Builder, usually part of the Divi Theme.
No configuration required.
If you are looking to optimize your Divi-based website even further, check out my other plugins:
Lazy Load Divi Section Backgrounds
Responsive Divi Backgrounds

安裝方式

  1. Visit Plugins > Add New
  2. Search for “Lazy Load Divi Slider Backgrounds
  3. Download and Activate the plugin.

常見問題集

What are the requirements?

The Divi Builder by Elegant Themes.

Something else?

jQuery, but chances are you already load it. Most popular themes use it.

What is Lazy Loading and why should I care?

Lazy loading is a technique that defers loading of non-critical resources at page load time. Instead, these non-critical resources are loaded at the moment of need. Where images are concerned, “non-critical” is often synonymous with “off-screen”. By lazy loading images, you improve your website’s load speed. If you’ve used Google’s PageSpeed Insights tool, you may have seen an opportunity called “Defer offscreen images”. Google basically tells us to lazy load our images.

I already have a lazy loading plugin!

Most lazy loading plugins handle only the <img> elements from your pages.
Lazy loading background images requires a different approach and this plugin is specially designed to handle Divi Builder’s Slider Module.

What about browser support?

All modern browsers are supported.

What about users without JavaScript?

If a visitor has disabled their JavaScript, they will still see the slider images as normal.
However, they won’t benefit from lazy loading.

Will this plugin affect the performance in a bad way?

The plugin should not cause any slowdown.
It’s designed to help improve your website’s performance.
The plugin won’t load any additional files.
Instead, it prints CSS and JS inline in the section and after the main content respectively.

Unlike most plugins, the required resources are only included on the pages which need them.
The plugin checks the current page’s content and if there is a slider with a background image the CSS and JS get printed.
All other posts/pages won’t be affected to maximize performance.

It doesn’t work on my website. Do you know why?
  1. Check if the Divi Builder (or Divi Theme) is updated.
  2. Check if the browser’s console (F12) shows any errors. jQuery should be loaded and if it’s not you will see an error.
Anything else you may recommend?

Yes! Check out my other plugin if you have sections with background images: Lazy Load Divi Section Backgrounds

使用者評論

2021 年 1 月 18 日
We had a slider with huge fineart photographie loading in not acceptable time. Problem gone thanks to this fine plugin!
閱讀全部 2 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Lazy Load Divi Slider Backgrounds〉的開發相關工作。

參與者

變更記錄

1.0.0

  • 12/12/2018:
    Initial release.