Dette innstikket er ikkje testa med dei tre siste utgåvene av WordPress. Det kan henda det ikkje blir vedlikehalde lenger, og kan ha problem med nyare versjonar av WordPress.

Be Lazy

Skildring

Enhance your website’s user experience and seo ranking by lazy loading images.

What is lazy loading?

«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.»
– Jeremy Wagner, Google Developer

In other words:
Lazy loading images makes them being loaded asynchronously which makes it possible to load them conditionally (e.g. when they are within the visitors’s viewport). In doing so, you will prevent your visitors from downloading images they would never see anyway.

What are the advantages?

The main advantages for your visitors are:

1. Reduced page load time

Having to initially load less resources, naturally reduces the loading duration. This will be more noticeable the more images you have on your website and may have a critical impact on your visitors’s experience as well as your SEO ranking.

2. Smaller page size

It’s possible that your visitors will not scroll down to the very bottom of the page and therefore not load all images. Having to load a few images less might not be relevant on unlimited connections. For visitors browsing your website on limited plans however, you’ll prevent them from wasting their data allowances. Again, this is a factor influencing your SEO ranking.

Browser support

Be Lazy uses a polyfill for browsers not supporting the IntersectionObserver API by default. As a result, pretty much any browser is supported.

✔ Google Chrome
✔ Mozilla Firefox
✔ Opera
✔ Microsoft Edge
✔ Microsoft Internet Explorer (7+)
✔ Safari (6+)
✔ Android Browser (4.4+)

Omtalar

1. juli 2020
Works out of the box und has a really fast lazy image loading with good Pagespeed Insights / Web Vitals score. Would be perfekt if the plugin could also lazy load images in Wordpress widgets (sidebar etc.)
17. mai 2019
Did what it should be doing, I can recommend it. Would be great though if there were more configuration options being integrated in the future (e.g. to change the transition style or adjust the threshold).
Les alle 2 omtalar

Bidragsytarar og utviklarar

“Be Lazy” is open source software. The following people have contributed to this plugin.

Contributors

“Be Lazy” er omsett til 8 språk. Takk til omsetjarane for bidraga deira.

Omset “Be Lazy” til ditt eige språk.

Interested in development?

Les kjeldekoden, sjekk SVN-lageret eller abonner på utviklingsloggen med RSS.

Endringslogg

1.2.1

[Added]
+ Elementor post types filter

1.2

[Added]
+ Post type based configuration
+ Option to manually select posts
+ Option handling via Ajax

1.1

[Fixed]
+ Default configuration value empty

1.0

Initial release