XF2 Add-on Lazy Load Images (PageSpeed improvement) 1.0.3

virgilio183

Well-known member
Pro
Master
Diamond
Elite
Joined
May 16, 2021
Messages
25,770
Reaction score
30,038
Points
113
NullCash
585,660
902f0dc3079a3.png
This add-on adds 'lazy loading images' to your forum with minimal impact.

This will have a positive effect on your PageSpeed score, especially for the mobile test.
Simply check the difference with and without this add-on.


Loading image lazy means your browser will only download images when needed.
It's one of the PageSpeed recommendations:

Defer offscreen images
Consider lazy-loading offscreen and hidden images after all critical resources have finished loading to lower time to interactive.

Google Chrome does this in an intelligent way and decides based on desktop/mobile usage and connection speed when to load images.

There will not be any visual impact, so don't worry about images fading in or other annoying effects!
Also, this add-on uses the native 'loading' tag which was introduced recently, so no extra java libraries needed.
 

Attachments

  • MrJinx-LazyLoadImages-1_0_3.zip
    16 KB · Views: 1
Top