Wordpress LScache Plugin: Lazyload exclude by area/zone
Last Updated on: Wed, 15 Apr 2026 00:00:02 Hi, The lazyload option causes some sliders to start off with the wrong slide height as it is based on the lazy load temporary image. To prevent this, I found the option to add image names in the Exclude field but this is not a option for sliders that show (recent) posts and their featured image. These will change constantly and Id need to change manually adapt the exclude field every time I post something? Modifying the slider plugin to make it add a data-no-lazy=1 attribute is not an option either. Is is possible to exclude lazyload based on a wrapper div class name (like .slider for example) so all nested images are no longer lazyloaded? Hi, We have in to-do improvement to make lazy load excluding by parent class name Best regards, Thanks! Hope it will arrive soon Hi, this feature is already in v3.0. Worth a try. Brilliant where can I find v3.0? Its on our git repo: https://github.com/litespeedtech/lscache_wp/ Later on we prolly be able to give a guidance on how to install v3 beta trial version. @CacheCrawler we can pin that guidance in forum I think. Hi Hai, just uploaded the 3.0 version. Looks great on the admin! Much more intuitive and clear I tried adding some classes to the new Lazy Load Image Parent Class Name Excludes field but it does not seem to have effect. How close to the parent element must a child image be? I mean how many levels down max? Or is the limit 1 child image per parent class? For example, I have a slider zone with class=banner-wrap which contains multiple blocks with images and two sliders (its over the top, I agree) so I tried banner-wrap in the field but it does not do anything. When using a div class closer to the actual tag (each div wraps around 1 image) then it works?
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference