Firefox 75 gets lazy loading support for images and iframes
#1
Information 
Quote:
[Image: firefox-lazy-loading.png]

Mozilla plans to support lazy loading for images and iframes in Firefox 75. Lazy loading refers to a technique that defers the loading of elements on a page to improve loading and rendering of the webpage, reduce memory use and network data usage; these elements are usually below the fold on load (not visible to the user).

Lazy loading up until now required the use of JavaScript. A new attribute for images and iframes adds lazy loading support in browsers that support it. Google introduced support for the new lazy loading tag in Chrome 76 which it released last year.

Mozilla added support for lazy loading in recent versions of Firefox Nightly, the cutting edge development version of the browser. Lazy loading is not enabled by default but users may enable it in Firefox Nightly. The feature will make its way to Beta, Dev and eventually Stable versions of the Firefox web browser.

Control Lazy Loading in Firefox

Here is how you control lazy loading functionality in Firefox:

1. Load about:config in the browser's address bar.
2. Confirm that you will be careful if the intermediary warning page is displayed.
3. Search for dom.image-lazy-loading.enabled.
4. Toggle the preference so that its value is True (enabled).

You can disable lazy loading at any time by setting the preference to False in about:config. Load the following demo page to check if lazy loading support is working correctly.

Lazy loading, once enabled, works on sites that use the tag for images. WordPress plans to introduce support for the loading attribute for images in the popular blogging platform by default which would add support automatically to WordPress blogs once the change lands and the blog is updated to the new version.

Webmasters who don't use WordPress may need to add the tags manually or by using scripts. All it takes is to add loading="lazy" to images or iframes to make use of the new feature.
...
Continue Reading
[-] The following 1 user says Thank You to harlan4096 for this post:
  â€˘ silversurfer
Reply


Messages In This Thread
Firefox 75 gets lazy loading support for images and iframes - by harlan4096 - 15 February 20, 12:31

Forum Jump:


Users browsing this thread: 1 Guest(s)
[-]
Welcome
You have to register before you can post on our site.

Username/Email:


Password:





[-]
Recent Posts
Mozilla Firefox 150 Released With Fixes...
Claude Mythos Expose...harlan4096 — 06:11
Mozilla Firefox 150 Released With Fixes ...
Mozilla has releas...harlan4096 — 06:10
AV-Comparatives - Performance Test - Apr...
Impact of Consumer...harlan4096 — 06:09
Java Runtime Environment 8.0 Update 491
Java Runtime Envir...harlan4096 — 06:55
Mozilla Firefox Browser 150.0
Mozilla Firefox Br...harlan4096 — 06:54

[-]
Birthdays
Today's Birthdays
No birthdays today.
Upcoming Birthdays
avatar (51)steakelask
avatar (45)Termoplenka
avatar (51)Toligo

[-]
Online Staff
There are no staff members currently online.

>