Wordpress LScache Plugin: Lazy loading image above the fold
Last Updated on: Wed, 15 Apr 2026 00:00:02 There are Above-the-fold images that are lazily loaded render later in the page lifecycle, which can delay the largest contentful paint. It will be a good thing to have a sub-option for lazy load to choose if yes or not we want the Above-the-fold img to be lazyloaded or not Learn more : https://web.dev/lcp-lazy-loading/ Check source code of your theme. In almost every case lazy load is generated by theme/Wordpress itself and not by cache plugin. If you search for lazy load you will find dozens of threads about how to remove theme based lazy load function. FYI: Cache plugin has a option to exclude images from being lazy loaded. Hello @CacheCrawler Thanks but thats not it, and worpress does it by it self now too.. but i will check more for this. I have WPBakery but it does not have that. Yes and thats why you have to remove loading= lazy attribute from code. loading= lazy is added by WordPress/Theme. If you search for lazy load you will find dozens of threads here what exactly has to be done. BTW i found an other message for the same question here : https://wordpress.org/support/topic/disable-lazy-load-image-for-the-first-image-above-the-fold-2/ I think litespeed dont deactivate wp native lazy load I already test to use add_filter(wp_lazy_loading_enabled, __return_false) But it does not do anything with litespeed plugin actif https://wordpress.org/support/topic/disable-lazy-load-image-for-the-first-image-above-the-fold-2/ Even, litespeed dont have detection for above the fold image for now ! This filter removes lazy load from all images. You can now use cache plugin settings to add its own attribute for lazy load, but with plugin functions you can exclude certain images from being lazy loaded. I know what the hook does, but as I explained in my previous post this hook does not apply when litespeedcache is active because it tries to modify the html after the generation of the ls cache it is necessary that this hook is implemented with the function activate lazyloading in page optimization otherwise it is not taken in the loop Hi, for now , it just lazyloads all image it encounters , you can manually exclude the ones you think it should not we are working on something like viewport image to enhance the lazyload best regards, Ow yeah ! that will be a verry good update ! Cheers.
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference