Exclude image from lazy loading




Wordpress LScache Plugin: Exclude image from lazy loading

Last Updated on: Wed, 15 Apr 2026 00:00:02
Hi I would like to exclude the first image to be lazyloaded but not the second image : In the Lazy Load Image Class Name Excludes setting, is: .jarallax img.jarallax-img or .jarallax .jarallax-img Will work? because if I just use: .jarallax-img both images will be lazyload? Thanks Hi, It should be jarallax-img but this will exclude all the images by this class, you may wanna try exclude by file name instead of class. Best regards, hi @CacheCrawler you may wanna try exclude by file name instead of class. Im afraid its just impossible? because it concerne all of featured images at the top of each post! Will be a great feature to add a system to include css class of a parent class. Thanks Hi, It will be in v3 release https://github.com/litespeedtech/lscache_wp/blob/16b408e2d9cc33d9886a24843412adb30f798f47/readme.txt#L312 Best regards, Hi @CacheCrawler Good news! Any ETA about this V3? Thanks Hi, Its on preview already , hopefully a stable release candidate can be out later this week or next week Best regards,



LiteCache Rush: Speed comes from using less, not from doing it faster



Reference