Lazy load not working
-
Report number: DLXHVOEE
I’ve enabled lazy loading for images, cleared my LSCache but when I view my site in incognito mode I’m still seeing all the images loaded in the network tab. Here’s an example page: https://www.geekyposh.com/saint-jane-beauty-serum-review/
I’ve also turned on the debug tool, refreshed the page again, and checked for any references of lazy loading in the log, but found none.
Thanks.
-
Hi,
From the source code , it seems your page (or from one of your plugins has already have lazyload feature.)
please make sure you didn’t enable multiple lazyload.
Please try :
1. turn on debug log to your IP
2. set level to advance
3. purge all
4. access home page
now post the log , and let’s see if we can find anything from it.
Best regards,
Hi,
I don’t have lazyload enabled anywhere else, but I am using Ezoic for my ads and they offer a paid lazyload version which I’m not using, but I do see their placeholder code in the source. Anyways here is the log, this time I’m seeing lazyload but in the network tab the images are still getting downloaded:
03/27/20 18:01:01.727 [108.48.179.182:49267 1 6Ka] ?? ------GET HTTP/1.1 (HTTPS) /saint-jane-beauty-serum-review/ 03/27/20 18:01:01.727 [108.48.179.182:49267 1 6Ka] Query String: 03/27/20 18:01:01.727 [108.48.179.182:49267 1 6Ka] User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36 03/27/20 18:01:01.727 [108.48.179.182:49267 1 6Ka] Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9 03/27/20 18:01:01.727 [108.48.179.182:49267 1 6Ka] Accept Encoding: gzip, deflate, br 03/27/20 18:01:01.727 [108.48.179.182:49267 1 6Ka] Cookie _lscache_vary: logged-in:1;role:99 03/27/20 18:01:01.727 [108.48.179.182:49267 1 6Ka] X-LSCACHE: true 03/27/20 18:01:01.727 [108.48.179.182:49267 1 6Ka] LSCACHE_VARY_VALUE: +webp 03/27/20 18:01:01.829 [108.48.179.182:49267 1 6Ka] [Ctrl] X Cache_control -> no Cache ( logged in user ) => LSC_Control::set_nocache()@317 => LSC_Vary->__construct()@45 => LSC_Vary::get_instance()@648 03/27/20 18:01:01.850 [108.48.179.182:49267 1 6Ka] [Router] get_uid: 1 => LSC_Router::get_uid()@215 => LSC_Router::get_role()@234 => LSC_Config->in_exclude_optimization_roles()@351 => LSC->after_user_init()@234 03/27/20 18:01:01.850 [108.48.179.182:49267 1 6Ka] [Router] get_role: administrator 03/27/20 18:01:01.850 [108.48.179.182:49267 1 6Ka] Media init 03/27/20 18:01:01.851 [108.48.179.182:49267 1 6Ka] CDN init 03/27/20 18:01:01.851 [108.48.179.182:49267 1 6Ka] Task init 03/27/20 18:01:01.851 [108.48.179.182:49267 1 6Ka] [Router] LSCWP_CTRL bypassed empty 03/27/20 18:01:01.851 [108.48.179.182:49267 1 6Ka] GUI init 03/27/20 18:01:01.878 [108.48.179.182:49267 1 6Ka] [Media] webp replacing: https://www.geekyposh.com/wp-content/uploads/2020/03/saint-jane-beauty-serum-cbd-2-2.jpg => LSC_Media->replace_webp()@851 => LSC_Media->webp_srcset()@834 => WP_Hook->apply_filters()@290 => /home/geekypos/public_html/wp-includes/media.php@206 03/27/20 18:01:01.878 [108.48.179.182:49267 1 6Ka] [Util] file not exist: /home/geekypos/public_html/wp-content/uploads/2020/03/saint-jane-beauty-serum-cbd-2-2.jpg.webp 03/27/20 18:01:01.878 [108.48.179.182:49267 1 6Ka] [Media] -no WebP file, bypassed 03/27/20 18:01:01.878 [108.48.179.182:49267 1 6Ka] [Media] webp replacing: https://www.geekyposh.com/wp-content/uploads/2020/03/saint-jane-beauty-serum-cbd-2-2-450x450.jpg => LSC_Media->replace_webp()@851 => LSC_Media->webp_srcset()@834 => WP_Hook->apply_filters()@290 => /home/geekypos/public_html/wp-includes/media.php@206 03/27/20 18:01:01.878 [108.48.179.182:49267 1 6Ka] [Util] file not exist: /home/geekypos/public_html/wp-content/uploads/2020/03/saint-jane-beauty-serum-cbd-2-2-450x450.jpg.webp 03/27/20 18:01:01.878 [108.48.179.182:49267 1 6Ka] [Media] -no WebP file, bypassed 03/27/20 18:01:01.879 [108.48.179.182:49267 1 6Ka] [Media] webp replacing: https://www.geekyposh.com/wp-content/uploads/2020/03/saint-jane-beauty-serum-cbd-2-2-650x650.jpg => LSC_Media->replace_webp()@851 => LSC_Media->webp_srcset()@834 => WP_Hook->apply_filters()@290 => /home/geekypos/public_html/wp-includes/media.php@206 03/27/20 18:01:01.879 [108.48.179.182:49267 1 6Ka] [Util] file not exist: /home/geekypos/public_html/wp-content/uploads/2020/03/saint-jane-beauty-serum-cbd-2-2-650x650.jpg.webp 03/27/20 18:01:01.879 [108.48.179.182:49267 1 6Ka] [Media] -no WebP file, bypassed 03/27/20 18:01:01.879 [108.48.179.182:49267 1 6Ka] [Media] webp replacing: https://www.geekyposh.com/wp-content/uploads/2020/03/saint-jane-beauty-serum-cbd-2-2-70x70.jpg => LSC_Media->replace_webp()@851 => LSC_Media->webp_srcset()@834 => WP_Hook->apply_filters()@290 => /home/geekypos/public_html/wp-includes/media.php@206 03/27/20 18:01:01.879 [108.48.179.182:49267 1 6Ka] [Util] file not exist: /home/geekypos/public_html/wp-content/uploads/2020/03/saint-jane-beauty-serum-cbd-2-2-70x70.jpg.webp 03/27/20 18:01:01.879 [108.48.179.182:49267 1 6Ka] [Media] -no WebP file, bypassed 03/27/20 18:01:01.879 [108.48.179.182:49267 1 6Ka] [Media] webp replacing: https://www.geekyposh.com/wp-content/uploads/2020/03/saint-jane-beauty-serum-cbd-pin-2.jpg => LSC_Media->replace_webp()@851 => LSC_Media->webp_srcset()@834 => WP_Hook->apply_filters()@290 => /home/geekypos/public_html/wp-includes/media.php@206 03/27/20 18:01:01.879 [108.48.179.182:49267 1 6Ka] [Util] file not exist: /home/geekypos/public_html/wp-content/uploads/2020/03/saint-jane-beauty-serum-cbd-pin-2.jpg.webp 03/27/20 18:01:01.879 [108.48.179.182:49267 1 6Ka] [Media] -no WebP file, bypassed 03/27/20 18:01:01.879 [108.48.179.182:49267 1 6Ka] [Media] webp replacing: https://www.geekyposh.com/wp-content/uploads/2020/03/saint-jane-beauty-serum-cbd-pin-2-450x563.jpg => LSC_Media->replace_webp()@851 => LSC_Media->webp_srcset()@834 => WP_Hook->apply_filters()@290 => /home/geekypos/public_html/wp-includes/media.php@206 03/27/20 18:01:01.879 [108.48.179.182:49267 1 6Ka] [Util] file not exist: /home/geekypos/public_html/wp-content/uploads/2020/03/saint-jane-beauty-serum-cbd-pin-2-450x563.jpg.webp 03/27/20 18:01:01.879 [108.48.179.182:49267 1 6Ka] [Media] -no WebP file, bypassed 03/27/20 18:01:01.879 [108.48.179.182:49267 1 6Ka] [Media] webp replacing: https://www.geekyposh.com/wp-content/uploads/2020/03/saint-jane-beauty-serum-cbd-pin-2-650x813.jpg => LSC_Media->replace_webp()@851 => LSC_Media->webp_srcset()@834 => WP_Hook->apply_filters()@290 => /home/geekypos/public_html/wp-includes/media.php@206 03/27/20 18:01:01.879 [108.48.179.182:49267 1 6Ka] [Util] file not exist: /home/geekypos/public_html/wp-content/uploads/2020/03/saint-jane-beauty-serum-cbd-pin-2-650x813.jpg.webp 03/27/20 18:01:01.879 [108.48.179.182:49267 1 6Ka] [Media] -no WebP file, bypassed 03/27/20 18:01:01.879 [108.48.179.182:49267 1 6Ka] [Media] webp replacing: https://www.geekyposh.com/wp-content/uploads/2020/03/saint-jane-beauty-serum-cbd-pin-2-56x70.jpg => LSC_Media->replace_webp()@851 => LSC_Media->webp_srcset()@834 => WP_Hook->apply_filters()@290 => /home/geekypos/public_html/wp-includes/media.php@206 03/27/20 18:01:01.879 [108.48.179.182:49267 1 6Ka] [Util] file not exist: /home/geekypos/public_html/wp-content/uploads/2020/03/saint-jane-beauty-serum-cbd-pin-2-56x70.jpg.webp 03/27/20 18:01:01.879 [108.48.179.182:49267 1 6Ka] [Media] -no WebP file, bypassed 03/27/20 18:01:01.885 [108.48.179.182:49267 1 6Ka] [Core] Footer hook called 03/27/20 18:01:01.886 [108.48.179.182:49267 1 6Ka] [Core] Footer check passed 03/27/20 18:01:01.886 [108.48.179.182:49267 1 6Ka] [Media] finalize 03/27/20 18:01:01.886 [108.48.179.182:49267 1 6Ka] [Media] buffer_webp attribute img.src 03/27/20 18:01:01.886 [108.48.179.182:49267 1 6Ka] [Media] webp replacing: https://www.geekyposh.com/wp-content/uploads/2020/03/saint-jane-beauty-serum-cbd-2-2.jpg => LSC_Media->replace_webp()@851 => LSC_Media->_replace_buffer_img_webp()@736 => LSC_Media->_finalize()@424 => LSC_Media::finalize()@407 03/27/20 18:01:01.886 [108.48.179.182:49267 1 6Ka] [Util] file not exist: /home/geekypos/public_html/wp-content/uploads/2020/03/saint-jane-beauty-serum-cbd-2-2.jpg.webp 03/27/20 18:01:01.886 [108.48.179.182:49267 1 6Ka] [Media] -no WebP file, bypassed 03/27/20 18:01:01.886 [108.48.179.182:49267 1 6Ka] [Media] webp replacing: https://www.geekyposh.com/wp-content/uploads/2020/03/saint-jane-beauty-serum-cbd-pin-2.jpg => LSC_Media->replace_webp()@851 => LSC_Media->_replace_buffer_img_webp()@736 => LSC_Media->_finalize()@424 => LSC_Media::finalize()@407 03/27/20 18:01:01.886 [108.48.179.182:49267 1 6Ka] [Util] file not exist: /home/geekypos/public_html/wp-content/uploads/2020/03/saint-jane-beauty-serum-cbd-pin-2.jpg.webp 03/27/20 18:01:01.886 [108.48.179.182:49267 1 6Ka] [Media] -no WebP file, bypassed 03/27/20 18:01:01.886 [108.48.179.182:49267 1 6Ka] [Media] webp replacing: //assets.rewardstyle.com/images/search/350.gif => LSC_Media->replace_webp()@851 => LSC_Media->_replace_buffer_img_webp()@736 => LSC_Media->_finalize()@424 => LSC_Media::finalize()@407 03/27/20 18:01:01.886 [108.48.179.182:49267 1 6Ka] [Util] external 03/27/20 18:01:01.886 [108.48.179.182:49267 1 6Ka] [Media] -no file, bypassed 03/27/20 18:01:01.886 [108.48.179.182:49267 1 6Ka] [Media] webp replacing: /wp-content/themes/2017/img/instagram.png => LSC_Media->replace_webp()@851 => LSC_Media->_replace_buffer_img_webp()@736 => LSC_Media->_finalize()@424 => LSC_Media::finalize()@407 03/27/20 18:01:01.886 [108.48.179.182:49267 1 6Ka] [Util] file not exist: /home/geekypos/public_html/wp-content/themes/2017/img/instagram.png.webp 03/27/20 18:01:01.886 [108.48.179.182:49267 1 6Ka] [Media] -no WebP file, bypassed 03/27/20 18:01:01.886 [108.48.179.182:49267 1 6Ka] [Media] buffer_webp attribute div.data-thumb 03/27/20 18:01:01.886 [108.48.179.182:49267 1 6Ka] [Media] buffer_webp attribute img.data-src 03/27/20 18:01:01.886 [108.48.179.182:49267 1 6Ka] [Media] buffer_webp attribute div.data-large_image 03/27/20 18:01:01.887 [108.48.179.182:49267 1 6Ka] [Media] buffer_webp attribute img.retina_logo_url 03/27/20 18:01:01.887 [108.48.179.182:49267 1 6Ka] [Media] webp replacing: https://www.geekyposh.com/wp-content/uploads/2020/03/saint-jane-beauty-serum-cbd-3.jpg => LSC_Media->replace_webp()@851 => LSC_Media->_replace_buffer_img_webp()@779 => LSC_Media->_finalize()@424 => LSC_Media::finalize()@407 03/27/20 18:01:01.887 [108.48.179.182:49267 1 6Ka] [Util] file not exist: /home/geekypos/public_html/wp-content/uploads/2020/03/saint-jane-beauty-serum-cbd-3.jpg.webp 03/27/20 18:01:01.887 [108.48.179.182:49267 1 6Ka] [Media] -no WebP file, bypassed 03/27/20 18:01:01.887 [108.48.179.182:49267 1 6Ka] [Media] lazyload found: https://www.geekyposh.com/wp-content/uploads/2020/03/saint-jane-beauty-serum-cbd-2-2.jpg 03/27/20 18:01:01.887 [108.48.179.182:49267 1 6Ka] [Media] lazyload found: https://www.geekyposh.com/wp-content/uploads/2020/03/saint-jane-beauty-serum-cbd-pin-2.jpg 03/27/20 18:01:01.887 [108.48.179.182:49267 1 6Ka] [Media] lazyload found: //assets.rewardstyle.com/images/search/350.gif 03/27/20 18:01:01.887 [108.48.179.182:49267 1 6Ka] [Media] lazyload found: /wp-content/themes/2017/img/instagram.png 03/27/20 18:01:01.887 [108.48.179.182:49267 1 6Ka] GUI bypassed by no counter 03/27/20 18:01:01.887 [108.48.179.182:49267 1 6Ka] [Optm] start 03/27/20 18:01:01.888 [108.48.179.182:49267 1 6Ka] CDN bypass 03/27/20 18:01:01.888 [108.48.179.182:49267 1 6Ka] [Core] Footer check passed 03/27/20 18:01:01.888 [108.48.179.182:49267 1 6Ka] [Ctrl] not cacheable before ctrl finalize 03/27/20 18:01:01.888 [108.48.179.182:49267 1 6Ka] [Cfg] role in vary_group [group] 99 03/27/20 18:01:01.888 [108.48.179.182:49267 1 6Ka] [Vary] show_admin_bar_front: false 03/27/20 18:01:01.888 [108.48.179.182:49267 1 6Ka] [Vary] no custimzed vary 03/27/20 18:01:01.888 [108.48.179.182:49267 1 6Ka] X-LiteSpeed-Cache-Control: no-cache 03/27/20 18:01:01.888 [108.48.179.182:49267 1 6Ka] --forced-- 03/27/20 18:01:01.888 [108.48.179.182:49267 1 6Ka] End response -------------------------------------------------------------------------------- 03/27/20 18:01:02.986 [108.48.179.182:49267 1 8qz] ?? ------GET HTTP/1.1 (HTTPS) /saint-jane-beauty-serum-review/ 03/27/20 18:01:02.986 [108.48.179.182:49267 1 8qz] Query String: relatedposts=1 03/27/20 18:01:02.986 [108.48.179.182:49267 1 8qz] HTTP_REFERER: https://www.geekyposh.com/saint-jane-beauty-serum-review/ 03/27/20 18:01:02.986 [108.48.179.182:49267 1 8qz] User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36 03/27/20 18:01:02.986 [108.48.179.182:49267 1 8qz] Accept: application/json, text/javascript, */*; q=0.01 03/27/20 18:01:02.986 [108.48.179.182:49267 1 8qz] Accept Encoding: gzip, deflate, br 03/27/20 18:01:02.986 [108.48.179.182:49267 1 8qz] Cookie _lscache_vary: logged-in:1;role:99 03/27/20 18:01:02.986 [108.48.179.182:49267 1 8qz] X-LSCACHE: true 03/27/20 18:01:03.084 [108.48.179.182:49267 1 8qz] [Ctrl] X Cache_control -> no Cache ( logged in user ) => LSC_Control::set_nocache()@317 => LSC_Vary->__construct()@45 => LSC_Vary::get_instance()@648 03/27/20 18:01:03.104 [108.48.179.182:49267 1 8qz] [Router] get_uid: 1 => LSC_Router::get_uid()@215 => LSC_Router::get_role()@234 => LSC_Config->in_exclude_optimization_roles()@351 => LSC->after_user_init()@234 03/27/20 18:01:03.104 [108.48.179.182:49267 1 8qz] [Router] get_role: administrator 03/27/20 18:01:03.104 [108.48.179.182:49267 1 8qz] Media init 03/27/20 18:01:03.104 [108.48.179.182:49267 1 8qz] CDN init 03/27/20 18:01:03.104 [108.48.179.182:49267 1 8qz] Task init 03/27/20 18:01:03.104 [108.48.179.182:49267 1 8qz] [Router] LSCWP_CTRL bypassed empty 03/27/20 18:01:03.104 [108.48.179.182:49267 1 8qz] GUI init 03/27/20 18:01:03.125 [108.48.179.182:49267 1 8qz] [Core] CHK html bypass: miss footer const 03/27/20 18:01:03.125 [108.48.179.182:49267 1 8qz] [Media] bypass: Not frontend HTML type 03/27/20 18:01:03.125 [108.48.179.182:49267 1 8qz] GUI bypassed by no counter 03/27/20 18:01:03.125 [108.48.179.182:49267 1 8qz] [Optm] bypass: Not frontend HTML type 03/27/20 18:01:03.125 [108.48.179.182:49267 1 8qz] CDN bypass 03/27/20 18:01:03.125 [108.48.179.182:49267 1 8qz] [Core] CHK html bypass: miss footer const 03/27/20 18:01:03.125 [108.48.179.182:49267 1 8qz] [Ctrl] not cacheable before ctrl finalize 03/27/20 18:01:03.125 [108.48.179.182:49267 1 8qz] [Cfg] role in vary_group [group] 99 03/27/20 18:01:03.125 [108.48.179.182:49267 1 8qz] [Vary] show_admin_bar_front: false 03/27/20 18:01:03.125 [108.48.179.182:49267 1 8qz] [Vary] no custimzed vary 03/27/20 18:01:03.125 [108.48.179.182:49267 1 8qz] X-LiteSpeed-Cache-Control: no-cache 03/27/20 18:01:03.125 [108.48.179.182:49267 1 8qz] --forced-- 03/27/20 18:01:03.125 [108.48.179.182:49267 1 8qz] End response --------------------------------------------------------------------------------
Hi,
Yeah , this looks weird , the log says it detects and processes the lazyload , but from HTML source code it shows nothing.
Please submit a ticket here , we will investigate it further.
Best regards,
Ticket created, #192004
Hi,
The issue was the image loaded by <source …> instead of
<img />
, currently LSCWP can only lazy load on<img />
, more tag support will be added in future release.Best regards,
-
This reply was modified 4 years, 11 months ago by
qtwrk.
Unless it is an extreme case, posts and replies are not edited here.
Forum topics will only be edited or deleted if they represent a valid legal, security, or safety concern.
See https://www.ads-software.com/support/guidelines/#deleting-editing-posts and https://www.ads-software.com/about/privacy/
-
This reply was modified 4 years, 11 months ago by
- The topic ‘Lazy load not working’ is closed to new replies.