LiteSpeed Cache Image Optimization Does Not Pull Images from Server
-
Hello, as you can see in the image, the current limit is stuck at 1. It successfully sends image requests to the server, but it does not pull the optimized images created on the server to my website.
I tried the following as a solution.
I destroyed the optimization data.
I tried pulling manually.
I cleaned it with the Clean Up Unfinished Data button and sent it again.
WordPressReport number: WYOBCKDD
Report date: 11/17/2023 11:03:48
-
for past few days , the image optm service was overloaded and backlog a huge number of requests which makes it quite slow
please try “clan up unfinished data” and send again , if it hasn’t moved until now.
Unfortunately, there was no solution. It still shows id 10. and the limit was stuck at 1. There is no problem sending files to the server. The server is processing the images. but it doesn’t pull to the website.
please do me a full screenshot on plugin’s image optm summary page.
<font _mstmutation=”1″></font>The debug log that appears when I press the pull images button
<font _mstmutation=”1″></font>
11/21/23 08:32:22.419 [78.174.138.99:56482 1 rd1] ?? ------GET HTTP/1.1 (HTTPS) /wp-admin/admin.php 11/21/23 08:32:22.419 [78.174.138.99:56482 1 rd1] Query String: page=litespeed-img_optm&LSCWP_CTRL=img_optm&LSCWP_NONCE=f3e0e7f32a&litespeed_type=pull 11/21/23 08:32:22.419 [78.174.138.99:56482 1 rd1] HTTP_REFERER: https://mydomain.com/wp-admin/admin.php?page=litespeed-img_optm 11/21/23 08:32:22.419 [78.174.138.99:56482 1 rd1] User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36 Edg/119.0.0.0 11/21/23 08:32:22.419 [78.174.138.99:56482 1 rd1] 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.7 11/21/23 08:32:22.419 [78.174.138.99:56482 1 rd1] Accept Encoding: gzip, deflate, br 11/21/23 08:32:22.419 [78.174.138.99:56482 1 rd1] Cookie _lscache_vary: 52fab7a4e41eec338009402307c8500c 11/21/23 08:32:22.419 [78.174.138.99:56482 1 rd1] X-LSCACHE: true 11/21/23 08:32:22.419 [78.174.138.99:56482 1 rd1] LSCACHE_VARY_VALUE: +webp 11/21/23 08:32:22.598 [78.174.138.99:56482 1 rd1] ?? No cache due to Admin page 11/21/23 08:32:22.851 [78.174.138.99:56482 1 rd1] [Ctrl] X Cache_control -> private ( logged in user ) 11/21/23 08:32:22.852 [78.174.138.99:56482 1 rd1] [Media] init 11/21/23 08:32:22.852 [78.174.138.99:56482 1 rd1] [LQIP] init 11/21/23 08:32:22.853 [78.174.138.99:56482 1 rd1] [CDN] init 11/21/23 08:32:22.853 [78.174.138.99:56482 1 rd1] [Router] CDN bypassed: is not ajax call 11/21/23 08:32:22.853 [78.174.138.99:56482 1 rd1] [Router] CDN bypassed: ajax call from admin 11/21/23 08:32:22.853 [78.174.138.99:56482 1 rd1] ? Init 11/21/23 08:32:22.854 [78.174.138.99:56482 1 rd1] [Router] LSCWP_CTRL: img_optm 11/21/23 08:32:22.854 [78.174.138.99:56482 1 rd1] [Router] LSCWP_CTRL verified: 'img_optm' 11/21/23 08:32:22.854 [78.174.138.99:56482 1 rd1] [ImgOptm] init 11/21/23 08:32:22.855 [78.174.138.99:56482 1 rd1] [Router] parsed type: pull => LiteSpeed\Router::verify_type()@463 => LiteSpeed\Img_Optm->handler()@1879 => LiteSpeed\Router->handler(img_optm)@748 11/21/23 08:32:22.888 [78.174.138.99:56482 1 rd1] ?? 301 from https://mydomain.com/wp-admin/admin.php 11/21/23 08:32:22.888 [78.174.138.99:56482 1 rd1] ?? 301 to https://mydomain.com/wp-admin/admin.php?page=litespeed-img_optm 11/21/23 08:32:22.888 [78.174.138.99:56482 1 rd1] ?? Compare [from] https [to] https 11/21/23 08:32:22.889 [78.174.138.99:56482 1 rd1] ?? Compare [from] mydomain.com [to] mydomain.com 11/21/23 08:32:22.889 [78.174.138.99:56482 1 rd1] ?? Compare [from] /wp-admin/admin.php [to] /wp-admin/admin.php 11/21/23 08:32:22.889 [78.174.138.99:56482 1 rd1] ?? Compare [from] page=litespeed-img_optm&LSCWP_CTRL=img_optm&LSCWP_NONCE=f3e0e7f32a&litespeed_type=pull [to] page=litespeed-img_optm 11/21/23 08:32:22.889 [78.174.138.99:56482 1 rd1] ?? 301 different redirection 11/21/23 08:32:22.889 [78.174.138.99:56482 1 rd1] ?? [Tag] Add --- HTTP.302 11/21/23 08:32:22.889 [78.174.138.99:56482 1 rd1] [Core] CHK html bypass: miss footer const 11/21/23 08:32:22.890 [78.174.138.99:56482 1 rd1] [Ctrl] not cacheable before ctrl finalize 11/21/23 08:32:22.890 [78.174.138.99:56482 1 rd1] [Router] get_role: administrator 11/21/23 08:32:22.890 [78.174.138.99:56482 1 rd1] [Vary] role in vary_group [group] 99 11/21/23 08:32:22.890 [78.174.138.99:56482 1 rd1] [Vary] show_admin_bar_front: true 11/21/23 08:32:22.890 [78.174.138.99:56482 1 rd1] [Vary] admin bar : true 11/21/23 08:32:22.891 [78.174.138.99:56482 1 rd1] [Vary] set_cookie ---> admin_bar:1;logged-in:1;role:99 11/21/23 08:32:22.891 [78.174.138.99:56482 1 rd1] [Vary] no custimzed vary 11/21/23 08:32:22.891 [78.174.138.99:56482 1 rd1] [Ctrl] ? forced no cache [reason] DONOTCACHEPAGE const 11/21/23 08:32:22.891 [78.174.138.99:56482 1 rd1] ?? X-LiteSpeed-Cache-Control: no-cache 11/21/23 08:32:22.891 [78.174.138.99:56482 1 rd1] [Vary] uid: 1 11/21/23 08:32:22.891 [78.174.138.99:56482 1 rd1] [Vary] role in vary_group [group] 99 11/21/23 08:32:22.892 [78.174.138.99:56482 1 rd1] [Vary] show_admin_bar_front: true 11/21/23 08:32:22.892 [78.174.138.99:56482 1 rd1] [Vary] admin bar : true 11/21/23 08:32:22.892 [78.174.138.99:56482 1 rd1] [Core] CHK html bypass: miss footer const 11/21/23 08:32:22.892 [78.174.138.99:56482 1 rd1] [Core] run hook litespeed_buffer_finalize 11/21/23 08:32:22.892 [78.174.138.99:56482 1 rd1] Response headers --- array ( 0 => 'X-Powered-By: PHP/7.4.33', 1 => 'X-LiteSpeed-Tag: b7b_tag_priv,public:b7b_HTTP.302', 2 => 'X-Redirect-By: WordPress', 3 => 'Location: https://mydomain.com/wp-admin/admin.php?page=litespeed-img_optm', 4 => 'Set-Cookie: _lscache_vary=admin_bar%3A1%3Blogged-in%3A1%3Brole%3A99; expires=Thu, 23-Nov-2023 08:32:22 GMT; Max-Age=172800; path=/; HttpOnly', 5 => 'X-LiteSpeed-Cache-Control: no-cache', ) 11/21/23 08:32:22.892 [78.174.138.99:56482 1 rd1] End response --------------------------------------------------Duration: 475.60 ms------------------------------ 11/21/23 08:32:22.977 [78.174.138.99:56482 1 95r] ?? ------GET HTTP/1.1 (HTTPS) /wp-admin/admin.php 11/21/23 08:32:22.977 [78.174.138.99:56482 1 95r] Query String: page=litespeed-img_optm 11/21/23 08:32:22.977 [78.174.138.99:56482 1 95r] HTTP_REFERER: https://mydomain.com/wp-admin/admin.php?page=litespeed-img_optm 11/21/23 08:32:22.977 [78.174.138.99:56482 1 95r] User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36 Edg/119.0.0.0 11/21/23 08:32:22.977 [78.174.138.99:56482 1 95r] 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.7 11/21/23 08:32:22.977 [78.174.138.99:56482 1 95r] Accept Encoding: gzip, deflate, br 11/21/23 08:32:22.977 [78.174.138.99:56482 1 95r] Cookie _lscache_vary: admin_bar:1;logged-in:1;role:99 11/21/23 08:32:22.977 [78.174.138.99:56482 1 95r] X-LSCACHE: true 11/21/23 08:32:22.977 [78.174.138.99:56482 1 95r] LSCACHE_VARY_VALUE: +webp 11/21/23 08:32:23.105 [78.174.138.99:56482 1 95r] ?? No cache due to Admin page 11/21/23 08:32:23.419 [78.174.138.99:56482 1 95r] [Ctrl] X Cache_control -> private ( logged in user ) 11/21/23 08:32:23.420 [78.174.138.99:56482 1 95r] [Media] init 11/21/23 08:32:23.421 [78.174.138.99:56482 1 95r] [LQIP] init 11/21/23 08:32:23.421 [78.174.138.99:56482 1 95r] [CDN] init 11/21/23 08:32:23.421 [78.174.138.99:56482 1 95r] [Router] CDN bypassed: is not ajax call 11/21/23 08:32:23.421 [78.174.138.99:56482 1 95r] [Router] CDN bypassed: ajax call from admin 11/21/23 08:32:23.422 [78.174.138.99:56482 1 95r] ? Init 11/21/23 08:32:23.422 [78.174.138.99:56482 1 95r] [Router] LSCWP_CTRL bypassed empty 11/21/23 08:32:23.899 [78.174.138.99:56482 1 95r] [ImgOptm] init 11/21/23 08:32:23.917 [78.174.138.99:56482 1 95r] [Core] CHK html bypass: miss footer const 11/21/23 08:32:23.917 [78.174.138.99:56482 1 95r] [Ctrl] not cacheable before ctrl finalize 11/21/23 08:32:23.917 [78.174.138.99:56482 1 95r] [Router] get_role: administrator 11/21/23 08:32:23.917 [78.174.138.99:56482 1 95r] [Vary] role in vary_group [group] 99 11/21/23 08:32:23.917 [78.174.138.99:56482 1 95r] [Vary] show_admin_bar_front: true 11/21/23 08:32:23.917 [78.174.138.99:56482 1 95r] [Vary] admin bar : true 11/21/23 08:32:23.918 [78.174.138.99:56482 1 95r] [Vary] no custimzed vary 11/21/23 08:32:23.918 [78.174.138.99:56482 1 95r] [Ctrl] ? forced no cache [reason] DONOTCACHEPAGE const 11/21/23 08:32:23.918 [78.174.138.99:56482 1 95r] ?? X-LiteSpeed-Cache-Control: no-cache 11/21/23 08:32:23.918 [78.174.138.99:56482 1 95r] [Vary] uid: 1 11/21/23 08:32:23.918 [78.174.138.99:56482 1 95r] [Vary] role in vary_group [group] 99 11/21/23 08:32:23.918 [78.174.138.99:56482 1 95r] [Vary] show_admin_bar_front: true 11/21/23 08:32:23.918 [78.174.138.99:56482 1 95r] [Vary] admin bar : true 11/21/23 08:32:23.919 [78.174.138.99:56482 1 95r] [Core] CHK html bypass: miss footer const 11/21/23 08:32:23.919 [78.174.138.99:56482 1 95r] [Core] run hook litespeed_buffer_finalize 11/21/23 08:32:23.919 [78.174.138.99:56482 1 95r] Response headers --- array ( 0 => 'X-Powered-By: PHP/7.4.33', 1 => 'Expires: Wed, 11 Jan 1984 05:00:00 GMT', 2 => 'Cache-Control: no-cache, must-revalidate, max-age=0, no-store, private', 3 => 'Referrer-Policy: strict-origin-when-cross-origin', 4 => 'X-Frame-Options: SAMEORIGIN', 5 => 'Content-Type: text/html; charset=UTF-8', 6 => 'X-LiteSpeed-Cache-Control: no-cache', ) 11/21/23 08:32:23.919 [78.174.138.99:56482 1 95r] End response --------------------------------------------------Duration: 944.07 ms------------------------------
<font _mstmutation=”1″ _msttexthash=”17641″ _msthash=”404″>The debug log that appears when I press the image optimization request button</font><font _mstmutation=”1″></font>
11/21/23 08:36:21.721 [78.174.138.99:59858 1 2g4] ?? ------GET HTTP/1.1 (HTTPS) /wp-admin/admin.php 11/21/23 08:36:21.721 [78.174.138.99:59858 1 2g4] Query String: page=litespeed-img_optm&LSCWP_CTRL=img_optm&LSCWP_NONCE=f3e0e7f32a&litespeed_type=new_req 11/21/23 08:36:21.721 [78.174.138.99:59858 1 2g4] HTTP_REFERER: https://mydomain.com/wp-admin/admin.php?page=litespeed-img_optm 11/21/23 08:36:21.721 [78.174.138.99:59858 1 2g4] User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36 Edg/119.0.0.0 11/21/23 08:36:21.721 [78.174.138.99:59858 1 2g4] 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.7 11/21/23 08:36:21.721 [78.174.138.99:59858 1 2g4] Accept Encoding: gzip, deflate, br 11/21/23 08:36:21.721 [78.174.138.99:59858 1 2g4] Cookie _lscache_vary: 52fab7a4e41eec338009402307c8500c 11/21/23 08:36:21.721 [78.174.138.99:59858 1 2g4] X-LSCACHE: true 11/21/23 08:36:21.721 [78.174.138.99:59858 1 2g4] LSCACHE_VARY_VALUE: +webp 11/21/23 08:36:22.041 [78.174.138.99:59858 1 2g4] ?? No cache due to Admin page 11/21/23 08:36:22.288 [78.174.138.99:59858 1 2g4] [Ctrl] X Cache_control -> private ( logged in user ) 11/21/23 08:36:22.288 [78.174.138.99:59858 1 2g4] [Media] init 11/21/23 08:36:22.289 [78.174.138.99:59858 1 2g4] [LQIP] init 11/21/23 08:36:22.289 [78.174.138.99:59858 1 2g4] [CDN] init 11/21/23 08:36:22.289 [78.174.138.99:59858 1 2g4] [Router] CDN bypassed: is not ajax call 11/21/23 08:36:22.289 [78.174.138.99:59858 1 2g4] [Router] CDN bypassed: ajax call from admin 11/21/23 08:36:22.290 [78.174.138.99:59858 1 2g4] ? Init 11/21/23 08:36:22.290 [78.174.138.99:59858 1 2g4] [Router] LSCWP_CTRL: img_optm 11/21/23 08:36:22.290 [78.174.138.99:59858 1 2g4] [Router] LSCWP_CTRL verified: 'img_optm' 11/21/23 08:36:22.291 [78.174.138.99:59858 1 2g4] [ImgOptm] init 11/21/23 08:36:22.291 [78.174.138.99:59858 1 2g4] [Router] parsed type: new_req => LiteSpeed\Router::verify_type()@463 => LiteSpeed\Img_Optm->handler()@1879 => LiteSpeed\Router->handler(img_optm)@748 11/21/23 08:36:22.298 [78.174.138.99:59858 1 2g4] ??? allowance_max 200 wet_limit 1 11/21/23 08:36:22.299 [78.174.138.99:59858 1 2g4] ??? preparing images to push 11/21/23 08:36:22.299 [78.174.138.99:59858 1 2g4] [Data] Checking table img_optming 11/21/23 08:36:22.299 [78.174.138.99:59858 1 2g4] [Data] Existed 11/21/23 08:36:22.300 [78.174.138.99:59858 1 2g4] ??? ? Too many notified images (8 > 5) 11/21/23 08:36:22.310 [78.174.138.99:59858 1 2g4] ?? 301 from https://mydomain.com/wp-admin/admin.php 11/21/23 08:36:22.310 [78.174.138.99:59858 1 2g4] ?? 301 to https://mydomain.com/wp-admin/admin.php?page=litespeed-img_optm 11/21/23 08:36:22.310 [78.174.138.99:59858 1 2g4] ?? Compare [from] https [to] https 11/21/23 08:36:22.310 [78.174.138.99:59858 1 2g4] ?? Compare [from] mydomain.com [to] mydomain.com 11/21/23 08:36:22.311 [78.174.138.99:59858 1 2g4] ?? Compare [from] /wp-admin/admin.php [to] /wp-admin/admin.php 11/21/23 08:36:22.311 [78.174.138.99:59858 1 2g4] ?? Compare [from] page=litespeed-img_optm&LSCWP_CTRL=img_optm&LSCWP_NONCE=f3e0e7f32a&litespeed_type=new_req [to] page=litespeed-img_optm 11/21/23 08:36:22.311 [78.174.138.99:59858 1 2g4] ?? 301 different redirection 11/21/23 08:36:22.311 [78.174.138.99:59858 1 2g4] ?? [Tag] Add --- HTTP.302 11/21/23 08:36:22.311 [78.174.138.99:59858 1 2g4] [Core] CHK html bypass: miss footer const 11/21/23 08:36:22.311 [78.174.138.99:59858 1 2g4] [Ctrl] not cacheable before ctrl finalize 11/21/23 08:36:22.312 [78.174.138.99:59858 1 2g4] [Router] get_role: administrator 11/21/23 08:36:22.312 [78.174.138.99:59858 1 2g4] [Vary] role in vary_group [group] 99 11/21/23 08:36:22.312 [78.174.138.99:59858 1 2g4] [Vary] show_admin_bar_front: true 11/21/23 08:36:22.312 [78.174.138.99:59858 1 2g4] [Vary] admin bar : true 11/21/23 08:36:22.318 [78.174.138.99:59858 1 2g4] [Vary] set_cookie ---> admin_bar:1;logged-in:1;role:99 11/21/23 08:36:22.318 [78.174.138.99:59858 1 2g4] [Vary] no custimzed vary 11/21/23 08:36:22.318 [78.174.138.99:59858 1 2g4] [Ctrl] ? forced no cache [reason] DONOTCACHEPAGE const 11/21/23 08:36:22.318 [78.174.138.99:59858 1 2g4] ?? X-LiteSpeed-Cache-Control: no-cache 11/21/23 08:36:22.318 [78.174.138.99:59858 1 2g4] [Vary] uid: 1 11/21/23 08:36:22.319 [78.174.138.99:59858 1 2g4] [Vary] role in vary_group [group] 99 11/21/23 08:36:22.319 [78.174.138.99:59858 1 2g4] [Vary] show_admin_bar_front: true 11/21/23 08:36:22.319 [78.174.138.99:59858 1 2g4] [Vary] admin bar : true 11/21/23 08:36:22.319 [78.174.138.99:59858 1 2g4] [Core] CHK html bypass: miss footer const 11/21/23 08:36:22.319 [78.174.138.99:59858 1 2g4] [Core] run hook litespeed_buffer_finalize 11/21/23 08:36:22.319 [78.174.138.99:59858 1 2g4] Response headers --- array ( 0 => 'X-Powered-By: PHP/7.4.33', 1 => 'X-LiteSpeed-Tag: b7b_tag_priv,public:b7b_HTTP.302', 2 => 'X-Redirect-By: WordPress', 3 => 'Location: https://mydomain.com/wp-admin/admin.php?page=litespeed-img_optm', 4 => 'Set-Cookie: _lscache_vary=admin_bar%3A1%3Blogged-in%3A1%3Brole%3A99; expires=Thu, 23-Nov-2023 08:36:22 GMT; Max-Age=172800; path=/; HttpOnly', 5 => 'X-LiteSpeed-Cache-Control: no-cache', ) 11/21/23 08:36:22.319 [78.174.138.99:59858 1 2g4] End response --------------------------------------------------Duration: 603.30 ms------------------------------ 11/21/23 08:36:22.438 [78.174.138.99:59858 1 B4p] ?? ------GET HTTP/1.1 (HTTPS) /wp-admin/admin.php 11/21/23 08:36:22.438 [78.174.138.99:59858 1 B4p] Query String: page=litespeed-img_optm 11/21/23 08:36:22.438 [78.174.138.99:59858 1 B4p] HTTP_REFERER: https://mydomain.com/wp-admin/admin.php?page=litespeed-img_optm 11/21/23 08:36:22.438 [78.174.138.99:59858 1 B4p] User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36 Edg/119.0.0.0 11/21/23 08:36:22.438 [78.174.138.99:59858 1 B4p] 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.7 11/21/23 08:36:22.438 [78.174.138.99:59858 1 B4p] Accept Encoding: gzip, deflate, br 11/21/23 08:36:22.438 [78.174.138.99:59858 1 B4p] Cookie _lscache_vary: admin_bar:1;logged-in:1;role:99 11/21/23 08:36:22.438 [78.174.138.99:59858 1 B4p] X-LSCACHE: true 11/21/23 08:36:22.438 [78.174.138.99:59858 1 B4p] LSCACHE_VARY_VALUE: +webp 11/21/23 08:36:22.680 [78.174.138.99:59858 1 B4p] ?? No cache due to Admin page 11/21/23 08:36:23.012 [78.174.138.99:59858 1 B4p] [Ctrl] X Cache_control -> private ( logged in user ) 11/21/23 08:36:23.013 [78.174.138.99:59858 1 B4p] [Media] init 11/21/23 08:36:23.013 [78.174.138.99:59858 1 B4p] [LQIP] init 11/21/23 08:36:23.014 [78.174.138.99:59858 1 B4p] [CDN] init 11/21/23 08:36:23.014 [78.174.138.99:59858 1 B4p] [Router] CDN bypassed: is not ajax call 11/21/23 08:36:23.014 [78.174.138.99:59858 1 B4p] [Router] CDN bypassed: ajax call from admin 11/21/23 08:36:23.014 [78.174.138.99:59858 1 B4p] ? Init 11/21/23 08:36:23.015 [78.174.138.99:59858 1 B4p] [Router] LSCWP_CTRL bypassed empty 11/21/23 08:36:23.632 [78.174.138.99:59858 1 B4p] [ImgOptm] init 11/21/23 08:36:23.660 [78.174.138.99:59858 1 B4p] [Core] CHK html bypass: miss footer const 11/21/23 08:36:23.660 [78.174.138.99:59858 1 B4p] [Ctrl] not cacheable before ctrl finalize 11/21/23 08:36:23.660 [78.174.138.99:59858 1 B4p] [Router] get_role: administrator 11/21/23 08:36:23.660 [78.174.138.99:59858 1 B4p] [Vary] role in vary_group [group] 99 11/21/23 08:36:23.661 [78.174.138.99:59858 1 B4p] [Vary] show_admin_bar_front: true 11/21/23 08:36:23.661 [78.174.138.99:59858 1 B4p] [Vary] admin bar : true 11/21/23 08:36:23.661 [78.174.138.99:59858 1 B4p] [Vary] no custimzed vary 11/21/23 08:36:23.661 [78.174.138.99:59858 1 B4p] [Ctrl] ? forced no cache [reason] DONOTCACHEPAGE const 11/21/23 08:36:23.661 [78.174.138.99:59858 1 B4p] ?? X-LiteSpeed-Cache-Control: no-cache 11/21/23 08:36:23.662 [78.174.138.99:59858 1 B4p] [Vary] uid: 1 11/21/23 08:36:23.662 [78.174.138.99:59858 1 B4p] [Vary] role in vary_group [group] 99 11/21/23 08:36:23.662 [78.174.138.99:59858 1 B4p] [Vary] show_admin_bar_front: true 11/21/23 08:36:23.662 [78.174.138.99:59858 1 B4p] [Vary] admin bar : true 11/21/23 08:36:23.663 [78.174.138.99:59858 1 B4p] [Core] CHK html bypass: miss footer const 11/21/23 08:36:23.663 [78.174.138.99:59858 1 B4p] [Core] run hook litespeed_buffer_finalize 11/21/23 08:36:23.663 [78.174.138.99:59858 1 B4p] Response headers --- array ( 0 => 'X-Powered-By: PHP/7.4.33', 1 => 'Expires: Wed, 11 Jan 1984 05:00:00 GMT', 2 => 'Cache-Control: no-cache, must-revalidate, max-age=0, no-store, private', 3 => 'Referrer-Policy: strict-origin-when-cross-origin', 4 => 'X-Frame-Options: SAMEORIGIN', 5 => 'Content-Type: text/html; charset=UTF-8', 6 => 'X-LiteSpeed-Cache-Control: no-cache', ) 11/21/23 08:36:23.663 [78.174.138.99:59858 1 B4p] End response --------------------------------------------------Duration: 1,228.94 ms------------------------------h
The debug log that appears when I press the after cleanup unfinished data and image optimization request button
11/21/23 08:38:41.172 [78.174.138.99:59858 1 eDi] ?? ------GET HTTP/1.1 (HTTPS) /wp-admin/admin.php 11/21/23 08:38:41.172 [78.174.138.99:59858 1 eDi] Query String: page=litespeed-img_optm&LSCWP_CTRL=img_optm&LSCWP_NONCE=f3e0e7f32a&litespeed_type=new_req 11/21/23 08:38:41.172 [78.174.138.99:59858 1 eDi] HTTP_REFERER: https://mydomain.com/wp-admin/admin.php?page=litespeed-img_optm 11/21/23 08:38:41.172 [78.174.138.99:59858 1 eDi] User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36 Edg/119.0.0.0 11/21/23 08:38:41.172 [78.174.138.99:59858 1 eDi] 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.7 11/21/23 08:38:41.172 [78.174.138.99:59858 1 eDi] Accept Encoding: gzip, deflate, br 11/21/23 08:38:41.172 [78.174.138.99:59858 1 eDi] Cookie _lscache_vary: 52fab7a4e41eec338009402307c8500c 11/21/23 08:38:41.172 [78.174.138.99:59858 1 eDi] X-LSCACHE: true 11/21/23 08:38:41.172 [78.174.138.99:59858 1 eDi] LSCACHE_VARY_VALUE: +webp 11/21/23 08:38:41.322 [78.174.138.99:59858 1 eDi] ?? No cache due to Admin page 11/21/23 08:38:41.629 [78.174.138.99:59858 1 eDi] [Ctrl] X Cache_control -> private ( logged in user ) 11/21/23 08:38:41.630 [78.174.138.99:59858 1 eDi] [Media] init 11/21/23 08:38:41.630 [78.174.138.99:59858 1 eDi] [LQIP] init 11/21/23 08:38:41.631 [78.174.138.99:59858 1 eDi] [CDN] init 11/21/23 08:38:41.631 [78.174.138.99:59858 1 eDi] [Router] CDN bypassed: is not ajax call 11/21/23 08:38:41.631 [78.174.138.99:59858 1 eDi] [Router] CDN bypassed: ajax call from admin 11/21/23 08:38:41.631 [78.174.138.99:59858 1 eDi] ? Init 11/21/23 08:38:41.632 [78.174.138.99:59858 1 eDi] [Router] LSCWP_CTRL: img_optm 11/21/23 08:38:41.632 [78.174.138.99:59858 1 eDi] [Router] LSCWP_CTRL verified: 'img_optm' 11/21/23 08:38:41.632 [78.174.138.99:59858 1 eDi] [ImgOptm] init 11/21/23 08:38:41.633 [78.174.138.99:59858 1 eDi] [Router] parsed type: new_req => LiteSpeed\Router::verify_type()@463 => LiteSpeed\Img_Optm->handler()@1879 => LiteSpeed\Router->handler(img_optm)@748 11/21/23 08:38:41.640 [78.174.138.99:59858 1 eDi] ??? allowance_max 200 wet_limit 1 11/21/23 08:38:41.640 [78.174.138.99:59858 1 eDi] ??? preparing images to push 11/21/23 08:38:41.640 [78.174.138.99:59858 1 eDi] [Data] Checking table img_optming 11/21/23 08:38:41.642 [78.174.138.99:59858 1 eDi] [Data] Existed 11/21/23 08:38:41.662 [78.174.138.99:59858 1 eDi] ??? Images found: 8 11/21/23 08:38:41.664 [78.174.138.99:59858 1 eDi] ??? Images after duplicated: 8 11/21/23 08:38:41.664 [78.174.138.99:59858 1 eDi] ??? Images after invalid: 8 11/21/23 08:38:41.669 [78.174.138.99:59858 1 eDi] ??? Added raw images [total] 8 11/21/23 08:38:41.670 [78.174.138.99:59858 1 eDi] ??? pid list to append to postmeta --- 10 11/21/23 08:38:41.672 [78.174.138.99:59858 1 eDi] ??? pid list to update postmeta --- 10 11/21/23 08:38:41.673 [78.174.138.99:59858 1 eDi] ??? Load img in queue [total] 8 11/21/23 08:38:41.676 [78.174.138.99:59858 1 eDi] ?? posting to : https://node119.quic.cloud/img_optm 11/21/23 08:38:42.443 [78.174.138.99:59858 1 eDi] ?? Carry_on usage --- array ( 'usage' => array ( 'total_used' => '88', 'used' => '88', 'quota' => '10000', 'daily_quota' => 1000, 'remaining_daily_quota' => 992, 'pag_used' => '0', 'pag_bal' => 0, 'pkgs' => '4', ), ) 11/21/23 08:38:42.453 [78.174.138.99:59858 1 eDi] ?? response ok --- array ( 'ids' => array ( 0 => '25', 1 => '26', 2 => '27', 3 => '28', 4 => '29', 5 => '30', 6 => '31', 7 => '32', ), ) 11/21/23 08:38:42.454 [78.174.138.99:59858 1 eDi] ??? Returned data from Cloud server count: 8 11/21/23 08:38:42.462 [78.174.138.99:59858 1 eDi] ?? 301 from https://mydomain.com/wp-admin/admin.php 11/21/23 08:38:42.462 [78.174.138.99:59858 1 eDi] ?? 301 to https://mydomain.com/wp-admin/admin.php?page=litespeed-img_optm 11/21/23 08:38:42.463 [78.174.138.99:59858 1 eDi] ?? Compare [from] https [to] https 11/21/23 08:38:42.463 [78.174.138.99:59858 1 eDi] ?? Compare [from] mydomain.com [to] mydomain.com 11/21/23 08:38:42.463 [78.174.138.99:59858 1 eDi] ?? Compare [from] /wp-admin/admin.php [to] /wp-admin/admin.php 11/21/23 08:38:42.463 [78.174.138.99:59858 1 eDi] ?? Compare [from] page=litespeed-img_optm&LSCWP_CTRL=img_optm&LSCWP_NONCE=f3e0e7f32a&litespeed_type=new_req [to] page=litespeed-img_optm 11/21/23 08:38:42.463 [78.174.138.99:59858 1 eDi] ?? 301 different redirection 11/21/23 08:38:42.463 [78.174.138.99:59858 1 eDi] ?? [Tag] Add --- HTTP.302 11/21/23 08:38:42.463 [78.174.138.99:59858 1 eDi] [Core] CHK html bypass: miss footer const 11/21/23 08:38:42.463 [78.174.138.99:59858 1 eDi] [Ctrl] not cacheable before ctrl finalize 11/21/23 08:38:42.463 [78.174.138.99:59858 1 eDi] [Router] get_role: administrator 11/21/23 08:38:42.464 [78.174.138.99:59858 1 eDi] [Vary] role in vary_group [group] 99 11/21/23 08:38:42.464 [78.174.138.99:59858 1 eDi] [Vary] show_admin_bar_front: true 11/21/23 08:38:42.464 [78.174.138.99:59858 1 eDi] [Vary] admin bar : true 11/21/23 08:38:42.464 [78.174.138.99:59858 1 eDi] [Vary] set_cookie ---> admin_bar:1;logged-in:1;role:99 11/21/23 08:38:42.464 [78.174.138.99:59858 1 eDi] [Vary] no custimzed vary 11/21/23 08:38:42.464 [78.174.138.99:59858 1 eDi] [Ctrl] ? forced no cache [reason] DONOTCACHEPAGE const 11/21/23 08:38:42.464 [78.174.138.99:59858 1 eDi] ?? X-LiteSpeed-Cache-Control: no-cache 11/21/23 08:38:42.464 [78.174.138.99:59858 1 eDi] [Vary] uid: 1 11/21/23 08:38:42.464 [78.174.138.99:59858 1 eDi] [Vary] role in vary_group [group] 99 11/21/23 08:38:42.465 [78.174.138.99:59858 1 eDi] [Vary] show_admin_bar_front: true 11/21/23 08:38:42.465 [78.174.138.99:59858 1 eDi] [Vary] admin bar : true 11/21/23 08:38:42.465 [78.174.138.99:59858 1 eDi] [Core] CHK html bypass: miss footer const 11/21/23 08:38:42.465 [78.174.138.99:59858 1 eDi] [Core] run hook litespeed_buffer_finalize 11/21/23 08:38:42.465 [78.174.138.99:59858 1 eDi] Response headers --- array ( 0 => 'X-Powered-By: PHP/7.4.33', 1 => 'X-LiteSpeed-Tag: b7b_tag_priv,public:b7b_HTTP.302', 2 => 'X-Redirect-By: WordPress', 3 => 'Location: https://mydomain.com/wp-admin/admin.php?page=litespeed-img_optm', 4 => 'Set-Cookie: _lscache_vary=admin_bar%3A1%3Blogged-in%3A1%3Brole%3A99; expires=Thu, 23-Nov-2023 08:38:42 GMT; Max-Age=172800; path=/; HttpOnly', 5 => 'X-LiteSpeed-Cache-Control: no-cache', ) 11/21/23 08:38:42.465 [78.174.138.99:59858 1 eDi] End response --------------------------------------------------Duration: 1,295.02 ms------------------------------ 11/21/23 08:38:42.539 [78.174.138.99:59858 1 SJR] ?? ------GET HTTP/1.1 (HTTPS) /wp-admin/admin.php 11/21/23 08:38:42.539 [78.174.138.99:59858 1 SJR] Query String: page=litespeed-img_optm 11/21/23 08:38:42.539 [78.174.138.99:59858 1 SJR] HTTP_REFERER: https://mydomain.com/wp-admin/admin.php?page=litespeed-img_optm 11/21/23 08:38:42.539 [78.174.138.99:59858 1 SJR] User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36 Edg/119.0.0.0 11/21/23 08:38:42.539 [78.174.138.99:59858 1 SJR] 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.7 11/21/23 08:38:42.539 [78.174.138.99:59858 1 SJR] Accept Encoding: gzip, deflate, br 11/21/23 08:38:42.539 [78.174.138.99:59858 1 SJR] Cookie _lscache_vary: admin_bar:1;logged-in:1;role:99 11/21/23 08:38:42.539 [78.174.138.99:59858 1 SJR] X-LSCACHE: true 11/21/23 08:38:42.539 [78.174.138.99:59858 1 SJR] LSCACHE_VARY_VALUE: +webp 11/21/23 08:38:42.672 [78.174.138.99:59858 1 SJR] ?? No cache due to Admin page 11/21/23 08:38:42.829 [78.174.138.99:59858 1 SJR] [Ctrl] X Cache_control -> private ( logged in user ) 11/21/23 08:38:42.829 [78.174.138.99:59858 1 SJR] [Media] init 11/21/23 08:38:42.830 [78.174.138.99:59858 1 SJR] [LQIP] init 11/21/23 08:38:42.830 [78.174.138.99:59858 1 SJR] [CDN] init 11/21/23 08:38:42.830 [78.174.138.99:59858 1 SJR] [Router] CDN bypassed: is not ajax call 11/21/23 08:38:42.830 [78.174.138.99:59858 1 SJR] [Router] CDN bypassed: ajax call from admin 11/21/23 08:38:42.830 [78.174.138.99:59858 1 SJR] ? Init 11/21/23 08:38:42.831 [78.174.138.99:59858 1 SJR] [Router] LSCWP_CTRL bypassed empty 11/21/23 08:38:43.256 [78.174.138.99:59858 1 SJR] [ImgOptm] init 11/21/23 08:38:43.274 [78.174.138.99:59858 1 SJR] [Core] CHK html bypass: miss footer const 11/21/23 08:38:43.274 [78.174.138.99:59858 1 SJR] [Ctrl] not cacheable before ctrl finalize 11/21/23 08:38:43.275 [78.174.138.99:59858 1 SJR] [Router] get_role: administrator 11/21/23 08:38:43.275 [78.174.138.99:59858 1 SJR] [Vary] role in vary_group [group] 99 11/21/23 08:38:43.275 [78.174.138.99:59858 1 SJR] [Vary] show_admin_bar_front: true 11/21/23 08:38:43.275 [78.174.138.99:59858 1 SJR] [Vary] admin bar : true 11/21/23 08:38:43.275 [78.174.138.99:59858 1 SJR] [Vary] no custimzed vary 11/21/23 08:38:43.275 [78.174.138.99:59858 1 SJR] [Ctrl] ? forced no cache [reason] DONOTCACHEPAGE const 11/21/23 08:38:43.275 [78.174.138.99:59858 1 SJR] ?? X-LiteSpeed-Cache-Control: no-cache 11/21/23 08:38:43.275 [78.174.138.99:59858 1 SJR] [Vary] uid: 1 11/21/23 08:38:43.275 [78.174.138.99:59858 1 SJR] [Vary] role in vary_group [group] 99 11/21/23 08:38:43.275 [78.174.138.99:59858 1 SJR] [Vary] show_admin_bar_front: true 11/21/23 08:38:43.276 [78.174.138.99:59858 1 SJR] [Vary] admin bar : true 11/21/23 08:38:43.276 [78.174.138.99:59858 1 SJR] [Core] CHK html bypass: miss footer const 11/21/23 08:38:43.276 [78.174.138.99:59858 1 SJR] [Core] run hook litespeed_buffer_finalize 11/21/23 08:38:43.276 [78.174.138.99:59858 1 SJR] Response headers --- array ( 0 => 'X-Powered-By: PHP/7.4.33', 1 => 'Expires: Wed, 11 Jan 1984 05:00:00 GMT', 2 => 'Cache-Control: no-cache, must-revalidate, max-age=0, no-store, private', 3 => 'Referrer-Policy: strict-origin-when-cross-origin', 4 => 'X-Frame-Options: SAMEORIGIN', 5 => 'Content-Type: text/html; charset=UTF-8', 6 => 'X-LiteSpeed-Cache-Control: no-cache', ) 11/21/23 08:38:43.276 [78.174.138.99:59858 1 SJR] End response --------------------------------------------------Duration: 738.60 ms------------------------------
I changed my domain in the log for privacy. I hope you can reach me via my report number.
please create a php file with code
<?php require( './wp-load.php' ); $args = array( 'timeout' => 100, 'blocking' => true, 'sslverify' => false, // 'cookies' => $_COOKIE, ); $url = 'https://domain.com/wp-admin/admin-ajax.php?action=async_litespeed&nonce=123123123&litespeed_type=imgoptm_force'; $result = wp_remote_post(esc_url_raw($url), $args); echo '<pre>'; var_dump($result); echo '</pre>';
replace
domain.com
to your domain, open it by browser, see what it returns.here it is.
that’s the issue , that
wp-admin/admin-ajax.php?action=async_litespeed&
is needed for pull imageyet somehow your site has something block this request.
please unblock it
You are perfect ?? Mod Security was blocking it. I turned it off and after a while it got better. Thank you for all your help. We can mark the topic as closed ??
if you know the rule ID that blocks it , you can use this directive in htaccess to disable that rule only , instead of disable it completely
<IfModule mod_security.c> SecRuleRemoveById 1234567 </IfModule>
- The topic ‘LiteSpeed Cache Image Optimization Does Not Pull Images from Server’ is closed to new replies.