Image optimization




Wordpress LScache Plugin: Image optimization

Last Updated on: Wed, 15 Apr 2026 00:00:02
I have a problem with Image optization, when i press SEND OPTIMIZATION REQUEST they said Images requested: 1 group (5 images). I ll wait 5 minutes after I get this Images previously optimized: 20 groups (81 images) all the time and no image is optimized.In phpmyadmin at table wp_litespeed_img_optm , i have this at status column, err_optm. One month ago it wordks , now no. Can you help me? Report number: YYNMPXBI Hi @cossymex, can you send us the advance debug log after you get the err_optm message? `09/06/19 12:48:40.664 [5.13.35.152:51875 1 CFh] ?? ??POST HTTP/1.1 (HTTPS) /wp-admin/admin-ajax.php 09/06/19 12:48:40.664 [5.13.35.152:51875 1 CFh] Query String: 09/06/19 12:48:40.664 [5.13.35.152:51875 1 CFh] HTTP_REFERER:x 09/06/19 12:48:40.664 [5.13.35.152:51875 1 CFh] User Agent: Mozilla/5.0 (Windows NT 10.0 Win64 x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.132 Safari/537.36 09/06/19 12:48:40.664 [5.13.35.152:51875 1 CFh] Accept: application/json, text/javascript, / q=0.01 09/06/19 12:48:40.664 [5.13.35.152:51875 1 CFh] Accept Encoding: gzip, deflate, br 09/06/19 12:48:40.664 [5.13.35.152:51875 1 CFh] Cookie _lscache_vary: admin_bar:1 logged-in:1 role:99 09/06/19 12:48:40.664 [5.13.35.152:51875 1 CFh] X-LSCACHE: true 09/06/19 12:48:40.782 [5.13.35.152:51875 1 CFh] [Ctrl] X Cache_control -> private ( logged in user ) 09/06/19 12:48:41.055 [89.42.220.223:28716 1 r1I] ?? ??POST HTTP/1.1 (HTTPS) /wp-cron.php 09/06/19 12:48:41.055 [89.42.220.223:28716 1 r1I] Query String: doing_wp_cron=1567774120.8501110076904296875000 09/06/19 12:48:41.055 [89.42.220.223:28716 1 r1I] HTTP_REFERER: xxcron.php?doing_wp_cron=1567774120.8501110076904296875000 09/06/19 12:48:41.055 [89.42.220.223:28716 1 r1I] User Agent: WordPress/5.2.3 xxxx 09/06/19 12:48:41.055 [89.42.220.223:28716 1 r1I] Accept: / 09/06/19 12:48:41.055 [89.42.220.223:28716 1 r1I] Accept Encoding: deflate, gzip 09/06/19 12:48:41.055 [89.42.220.223:28716 1 r1I] X-LSCACHE: true 09/06/19 12:48:41.225 [89.42.220.223:28716 1 r1I] [Router] get_uid: 0 => LSC_Router::get_uid()@215 => LSC_Router::get_role()@234 => LSC_Config->in_exclude_optimization_roles()@351 => LSC->after_user_init()@234 09/06/19 12:48:41.225 [89.42.220.223:28716 1 r1I] [Router] get_role: 09/06/19 12:48:41.226 [89.42.220.223:28716 1 r1I] Media init 09/06/19 12:48:41.228 [89.42.220.223:28716 1 r1I] CDN init 09/06/19 12:48:41.228 [89.42.220.223:28716 1 r1I] Task init 09/06/19 12:48:41.229 [89.42.220.223:28716 1 r1I] [Router] LSCWP_CTRL bypassed empty 09/06/19 12:48:41.230 [89.42.220.223:28716 1 r1I] GUI init 09/06/19 12:48:41.269 [89.42.220.223:28716 1 r1I] [Core] CHK html bypass: miss footer const 09/06/19 12:48:41.269 [89.42.220.223:28716 1 r1I] [Ctrl] not cacheable before ctrl finalize 09/06/19 12:48:41.269 [89.42.220.223:28716 1 r1I] [Router] get_role: 09/06/19 12:48:41.269 [89.42.220.223:28716 1 r1I] [Vary] role id: failed, guest 09/06/19 12:48:41.270 [89.42.220.223:28716 1 r1I] [Router] get_role: 09/06/19 12:48:41.270 [89.42.220.223:28716 1 r1I] [Router] get_role: 09/06/19 12:48:41.270 [89.42.220.223:28716 1 r1I] [Vary] no custimzed vary 09/06/19 12:48:41.270 [89.42.220.223:28716 1 r1I] X-LiteSpeed-Cache-Control: no-cache 09/06/19 12:48:41.270 [89.42.220.223:28716 1 r1I] [Core] CHK html bypass: miss footer const 09/06/19 12:48:41.270 [89.42.220.223:28716 1 r1I] [Media] bypass: Not frontend HTML type 09/06/19 12:48:41.270 [89.42.220.223:28716 1 r1I] GUI bypassed by no counter 09/06/19 12:48:41.270 [89.42.220.223:28716 1 r1I] [Optm] bypass: Not frontend HTML type 09/06/19 12:48:41.270 [89.42.220.223:28716 1 r1I] CDN bypass 09/06/19 12:48:41.270 [89.42.220.223:28716 1 r1I] End response ??????????????????????????? 09/06/19 12:48:41.278 [5.13.35.152:51875 1 CFh] [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 09/06/19 12:48:41.278 [5.13.35.152:51875 1 CFh] [Router] get_role: administrator 09/06/19 12:48:41.279 [5.13.35.152:51875 1 CFh] Media init 09/06/19 12:48:41.283 [5.13.35.152:51875 1 CFh] CDN init 09/06/19 12:48:41.283 [5.13.35.152:51875 1 CFh] [Router] CDN bypassed: ajax call from admin 09/06/19 12:48:41.283 [5.13.35.152:51875 1 CFh] Task init 09/06/19 12:48:41.284 [5.13.35.152:51875 1 CFh] [Router] LSCWP_CTRL bypassed empty 09/06/19 12:48:41.348 [5.13.35.152:51875 1 CFh] [Ctrl] X Cache_control -> no Cache ( Admin page ) => LSC_Control::set_nocache()@317 => LSC_Admin->admin_init()@134 => WP_Hook->apply_filters()@286 09/06/19 12:48:41.358 [5.13.35.152:51875 1 CFh] [Core] CHK html bypass: miss footer const 09/06/19 12:48:41.358 [5.13.35.152:51875 1 CFh] [Ctrl] not cacheable before ctrl finalize 09/06/19 12:48:41.358 [5.13.35.152:51875 1 CFh] [Cfg] role in vary_group [group] 99 09/06/19 12:48:41.358 [5.13.35.152:51875 1 CFh] [Vary] show_admin_bar_front: true 09/06/19 12:48:41.358 [5.13.35.152:51875 1 CFh] [Vary] admin bar : true 09/06/19 12:48:41.358 [5.13.35.152:51875 1 CFh] [Vary] no custimzed vary 09/06/19 12:48:41.358 [5.13.35.152:51875 1 CFh] [Core] Silence Comment due to REST/AJAX 09/06/19 12:48:41.358 [5.13.35.152:51875 1 CFh] X-LiteSpeed-Cache-Control: no-cache 09/06/19 12:48:41.358 [5.13.35.152:51875 1 CFh] [Core] CHK html bypass: miss footer const 09/06/19 12:48:41.358 [5.13.35.152:51875 1 CFh] [Media] bypass: Not frontend HTML type 09/06/19 12:48:41.358 [5.13.35.152:51875 1 CFh] GUI bypassed by no counter 09/06/19 12:48:41.358 [5.13.35.152:51875 1 CFh] [Optm] bypass: Not frontend HTML type 09/06/19 12:48:41.358 [5.13.35.152:51875 1 CFh] CDN bypass 09/06/19 12:48:41.358 [5.13.35.152:51875 1 CFh] End response ??????????????????????????? 09/06/19 12:49:00.003 [5.13.35.152:51875 1 Skr] ?? ??GET HTTP/1.1 (HTTPS) /wp-admin/admin.php 09/06/19 12:49:00.003 [5.13.35.152:51875 1 Skr] Query String: page=lscache-optimization&type=img_optm&LSCWP_CTRL=img_optm&LSCWP_NONCE=bdc26357da 09/06/19 12:49:00.003 [5.13.35.152:51875 1 Skr] HTTP_REFERER: xxp-admin/admin.php?page=lscache-optimization&type=img_optm 09/06/19 12:49:00.003 [5.13.35.152:51875 1 Skr] User Agent: Mozilla/5.0 (Windows NT 10.0 Win64 x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.132 Safari/537.36 09/06/19 12:49:00.003 [5.13.35.152:51875 1 Skr] Accept: text/html,application/xhtml+xml,application/xml q=0.9,image/webp,image/apng, / q=0.8,application/signed-exchange v=b3 09/06/19 12:49:00.003 [5.13.35.152:51875 1 Skr] Accept Encoding: gzip, deflate, br 09/06/19 12:49:00.003 [5.13.35.152:51875 1 Skr] Cookie _lscache_vary: admin_bar:1 logged-in:1 role:99 09/06/19 12:49:00.003 [5.13.35.152:51875 1 Skr] X-LSCACHE: true 09/06/19 12:49:00.003 [5.13.35.152:51875 1 Skr] LSCACHE_VARY_VALUE: +webp 09/06/19 12:49:00.126 [5.13.35.152:51875 1 Skr] [Ctrl] X Cache_control -> private ( logged in user ) 09/06/19 12:49:00.203 [5.13.35.152:51875 1 Skr] [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 09/06/19 12:49:00.203 [5.13.35.152:51875 1 Skr] [Router] get_role: administrator 09/06/19 12:49:00.204 [5.13.35.152:51875 1 Skr] Media init 09/06/19 12:49:00.206 [5.13.35.152:51875 1 Skr] CDN init 09/06/19 12:49:00.206 [5.13.35.152:51875 1 Skr] [Router] CDN bypassed: is not ajax call 09/06/19 12:49:00.206 [5.13.35.152:51875 1 Skr] [Router] CDN bypassed: ajax call from admin 09/06/19 12:49:00.206 [5.13.35.152:51875 1 Skr] Task init 09/06/19 12:49:00.207 [5.13.35.152:51875 1 Skr] [Router] LSCWP_CTRL: img_optm 09/06/19 12:49:00.208 [5.13.35.152:51875 1 Skr] [Router] LSCWP_CTRL verified: img_optm 09/06/19 12:49:00.210 [5.13.35.152:51875 1 Skr] ImgOptm init 09/06/19 12:49:00.210 [5.13.35.152:51875 1 Skr] [Router] parsed type: img_optm => LSC_Router::verify_type()@425 => LSC_Img_Optm::handler()@2078 => LSC->proceed_action()@361 09/06/19 12:49:00.210 [5.13.35.152:51875 1 Skr] [Img_Optm] preparing images to push 09/06/19 12:49:00.212 [5.13.35.152:51875 1 Skr] [Img_Optm] found images: 108 09/06/19 12:49:00.214 [5.13.35.152:51875 1 Skr] [Img_Optm] img request hit limit: [total] 0 [add] 4 [credit] 3 09/06/19 12:49:00.216 [5.13.35.152:51875 1 Skr] [Img_Optm] optimize bypass: empty _img_in_queue 09/06/19 12:49:00.217 [5.13.35.152:51875 1 Skr] [Ctrl] 301 from xx/wp-admin/admin.php 09/06/19 12:49:00.217 [5.13.35.152:51875 1 Skr] [Ctrl] 301 to xx/wp-admin/admin.php?page=lscache-optimization&type=img_optm 09/06/19 12:49:00.217 [5.13.35.152:51875 1 Skr] [Ctrl] X Cache_control -> no Cache ( 301 to same url ) => LSC_Control::set_nocache()@317 => LSC_Control::check_redirect()@467 => WP_Hook->apply_filters()@286 09/06/19 12:49:00.217 [5.13.35.152:51875 1 Skr] [Core] CHK html bypass: miss footer const 09/06/19 12:49:00.217 [5.13.35.152:51875 1 Skr] [Ctrl] not cacheable before ctrl finalize 09/06/19 12:49:00.217 [5.13.35.152:51875 1 Skr] [Cfg] role in vary_group [group] 99 09/06/19 12:49:00.218 [5.13.35.152:51875 1 Skr] [Vary] show_admin_bar_front: true 09/06/19 12:49:00.218 [5.13.35.152:51875 1 Skr] [Vary] admin bar : true 09/06/19 12:49:00.218 [5.13.35.152:51875 1 Skr] [Vary] no custimzed vary 09/06/19 12:49:00.218 [5.13.35.152:51875 1 Skr] X-LiteSpeed-Cache-Control: no-cache 09/06/19 12:49:00.218 [5.13.35.152:51875 1 Skr] [Core] CHK html bypass: miss footer const 09/06/19 12:49:00.218 [5.13.35.152:51875 1 Skr] [Media] bypass: Not frontend HTML type 09/06/19 12:49:00.218 [5.13.35.152:51875 1 Skr] GUI bypassed by no counter 09/06/19 12:49:00.218 [5.13.35.152:51875 1 Skr] [Optm] bypass: Not frontend HTML type 09/06/19 12:49:00.218 [5.13.35.152:51875 1 Skr] CDN bypass 09/06/19 12:49:00.218 [5.13.35.152:51875 1 Skr] End response ??????????????????????????? 09/06/19 12:49:00.362 [5.13.35.152:51875 1 BI5] ?? ??GET HTTP/1.1 (HTTPS) /wp-admin/admin.php 09/06/19 12:49:00.362 [5.13.35.152:51875 1 BI5] Query String: page=lscache-optimization&type=img_optm 09/06/19 12:49:00.362 [5.13.35.152:51875 1 BI5] HTTP_REFERER: xxxxx 09/06/19 12:49:00.362 [5.13.35.152:51875 1 BI5] User Agent: Mozilla/5.0 (Windows NT 10.0 Win64 x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.132 Safari/537.36 09/06/19 12:49:00.362 [5.13.35.152:51875 1 BI5] Accept: text/html,application/xhtml+xml,application/xml q=0.9,image/webp,image/apng, / q=0.8,application/signed-exchange v=b3 09/06/19 12:49:00.362 [5.13.35.152:51875 1 BI5] Accept Encoding: gzip, deflate, br 09/06/19 12:49:00.362 [5.13.35.152:51875 1 BI5] Cookie _lscache_vary: admin_bar:1 logged-in:1 role:99 09/06/19 12:49:00.362 [5.13.35.152:51875 1 BI5] X-LSCACHE: true 09/06/19 12:49:00.362 [5.13.35.152:51875 1 BI5] LSCACHE_VARY_VALUE: +webp 09/06/19 12:49:00.479 [5.13.35.152:51875 1 BI5] [Ctrl] X Cache_control -> private ( logged in user ) 09/06/19 12:49:00.553 [5.13.35.152:51875 1 BI5] [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 09/06/19 12:49:00.554 [5.13.35.152:51875 1 BI5] [Router] get_role: administrator 09/06/19 12:49:00.555 [5.13.35.152:51875 1 BI5] Media init 09/06/19 12:49:00.556 [5.13.35.152:51875 1 BI5] CDN init 09/06/19 12:49:00.556 [5.13.35.152:51875 1 BI5] [Router] CDN bypassed: is not ajax call 09/06/19 12:49:00.556 [5.13.35.152:51875 1 BI5] [Router] CDN bypassed: ajax call from admin 09/06/19 12:49:00.556 [5.13.35.152:51875 1 BI5] Task init 09/06/19 12:49:00.558 [5.13.35.152:51875 1 BI5] [Router] LSCWP_CTRL bypassed empty 09/06/19 12:49:00.632 [5.13.35.152:51875 1 BI5] [Ctrl] X Cache_control -> no Cache ( Admin page ) => LSC_Control::set_nocache()@317 => LSC_Admin->admin_init()@134 => WP_Hook->apply_filters()@286 09/06/19 12:49:00.659 [5.13.35.152:51875 1 BI5] Data init 09/06/19 12:49:00.659 [5.13.35.152:51875 1 BI5] [Data] Checking img_optm table 09/06/19 12:49:00.659 [5.13.35.152:51875 1 BI5] [Data] Existed 09/06/19 12:49:00.659 [5.13.35.152:51875 1 BI5] [Data] Checking html optm table 09/06/19 12:49:00.660 [5.13.35.152:51875 1 BI5] [Data] Existed 09/06/19 12:49:00.661 [5.13.35.152:51875 1 BI5] ImgOptm init 09/06/19 12:49:00.671 [5.13.35.152:51875 1 BI5] [Core] CHK html bypass: miss footer const 09/06/19 12:49:00.671 [5.13.35.152:51875 1 BI5] [Ctrl] not cacheable before ctrl finalize 09/06/19 12:49:00.671 [5.13.35.152:51875 1 BI5] [Cfg] role in vary_group [group] 99 09/06/19 12:49:00.671 [5.13.35.152:51875 1 BI5] [Vary] show_admin_bar_front: true 09/06/19 12:49:00.671 [5.13.35.152:51875 1 BI5] [Vary] admin bar : true 09/06/19 12:49:00.671 [5.13.35.152:51875 1 BI5] [Vary] no custimzed vary 09/06/19 12:49:00.671 [5.13.35.152:51875 1 BI5] X-LiteSpeed-Cache-Control: no-cache 09/06/19 12:49:00.671 [5.13.35.152:51875 1 BI5] [Core] CHK html bypass: miss footer const 09/06/19 12:49:00.671 [5.13.35.152:51875 1 BI5] [Media] bypass: Not frontend HTML type 09/06/19 12:49:00.671 [5.13.35.152:51875 1 BI5] GUI bypassed by no counter 09/06/19 12:49:00.671 [5.13.35.152:51875 1 BI5] [Optm] bypass: Not frontend HTML type 09/06/19 12:49:00.671 [5.13.35.152:51875 1 BI5] CDN bypass 09/06/19 12:49:00.671 [5.13.35.152:51875 1 BI5] End response ??????????????????????????? I put a lot of DEbug.log maybe here said something wrong This reply was modified 3 years, 2 months ago by cossymex. Hi @cossymex , We were encountering an optimization failure issue due to a wrong tuning on child server last night. It should work fine now. Please try to start over. Thanks. Ty, is working now.



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



Reference