Image optimization not working V3
-
Hi,
I am using LSCache v3.0.4 and I can not get the image optimzation to work. Under optimization tab, I clicked on Gather Image data and the plugin says gather 3600 images successfully but then nothing happen. I checked my quic.cloud dashboard and it shows no request for image.
Report number: PLMRMBUD
Please advise.
The page I need help with: [log in to see the link]
-
After gathered, you need to click the button again, to send request.
I clicked a few more times and it only says 3600 images gathered, just like the first time. Not sure what went wrong.
Can you check your debug log, next time when clicking?
Here is what I found after clicking twice. Hope this is what you ask
04/28/20 01:12:48.787 [162.158.179.154:59556 1 is9] 💓 ——GET HTTP/1.1 (HTTPS) /wp-admin/admin.php
04/28/20 01:12:48.787 [162.158.179.154:59556 1 is9] Query String: page=litespeed-img_optm&LSCWP_CTRL=img_optm&LSCWP_NONCE=4374e2d290&litespeed_type=new_req
04/28/20 01:12:48.787 [162.158.179.154:59556 1 is9] HTTP_REFERER: https://chymeochy.com/wp-admin/admin.php?page=litespeed-img_optm
04/28/20 01:12:48.787 [162.158.179.154:59556 1 is9] User Agent: Mozilla/5.0 (Linux; Android 10; SM-G985F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.116 Mobile Safari/537.36 EdgA/45.02.4.4931
04/28/20 01:12:48.787 [162.158.179.154:59556 1 is9] Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3
04/28/20 01:12:48.787 [162.158.179.154:59556 1 is9] Accept Encoding: gzip
04/28/20 01:12:48.787 [162.158.179.154:59556 1 is9] Cookie _lscache_vary: admin_bar:1;logged-in:1;role:99
04/28/20 01:12:48.787 [162.158.179.154:59556 1 is9] X-LSCACHE: true
04/28/20 01:12:48.787 [162.158.179.154:59556 1 is9] LSCACHE_VARY_COOKIE: wp-postpass_81ae48d2299bb16c9b9cb3329e068df7
04/28/20 01:12:48.787 [162.158.179.154:59556 1 is9] LSCACHE_VARY_VALUE: vn+webp
04/28/20 01:12:48.824 [162.158.179.154:59556 1 is9] [Ctrl] X Cache_control -> stale
04/28/20 01:12:48.824 [162.158.179.154:59556 1 is9] [Ctrl] X Cache_control -> no Cache ( logged in user ) => LiteSpeed\Debug2::debug()@354 => LiteSpeed\Control::set_nocache()@381 => LiteSpeed\Vary->__construct()@45 => LiteSpeed\Instance::get_instance()@22
04/28/20 01:12:48.850 [162.158.179.154:59556 1 is9] [Media] init
04/28/20 01:12:48.850 [162.158.179.154:59556 1 is9] [Placeholder] init
04/28/20 01:12:48.850 [162.158.179.154:59556 1 is9] [CDN] init
04/28/20 01:12:48.850 [162.158.179.154:59556 1 is9] [Router] CDN bypassed: is not ajax call
04/28/20 01:12:48.850 [162.158.179.154:59556 1 is9] [Router] CDN bypassed: ajax call from admin
04/28/20 01:12:48.850 [162.158.179.154:59556 1 is9] ⏰ Task init
04/28/20 01:12:48.850 [162.158.179.154:59556 1 is9] [Router] LSCWP_CTRL: img_optm
04/28/20 01:12:48.850 [162.158.179.154:59556 1 is9] [Router] LSCWP_CTRL verified: ‘img_optm’
04/28/20 01:12:48.850 [162.158.179.154:59556 1 is9] [ImgOptm] init
04/28/20 01:12:48.850 [162.158.179.154:59556 1 is9] [Router] parsed type: new_req => LiteSpeed\Debug2::debug()@354 => LiteSpeed\Router::verify_type()@425 => LiteSpeed\Img_Optm::handler()@1760 => LiteSpeed\Router::handler()@701
04/28/20 01:12:48.850 [162.158.179.154:59556 1 is9] [Img_Optm] allowance_max 200 wet_limit 1
04/28/20 01:12:48.850 [162.158.179.154:59556 1 is9] [Img_Optm] preparing images to push
04/28/20 01:12:48.851 [162.158.179.154:59556 1 is9] [Img_Optm] need gather due to no new raw image found
04/28/20 01:12:48.851 [162.158.179.154:59556 1 is9] [Data] Checking table img_optm
04/28/20 01:12:48.852 [162.158.179.154:59556 1 is9] [Data] Existed
04/28/20 01:12:48.852 [162.158.179.154:59556 1 is9] [Data] Checking table img_optming
04/28/20 01:12:48.852 [162.158.179.154:59556 1 is9] [Data] Existed
04/28/20 01:12:50.162 [162.158.179.154:59556 1 is9] [Img_Optm] Added raw images [total] 3662
04/28/20 01:12:50.168 [162.158.179.154:59556 1 is9] [Core] CHK html bypass: miss footer constHere is what I found after clciking twice
04/28/20 01:12:48.787 [162.158.179.154:59556 1 is9] 💓 ------GET HTTP/1.1 (HTTPS) /wp-admin/admin.php 04/28/20 01:12:48.787 [162.158.179.154:59556 1 is9] Query String: page=litespeed-img_optm&LSCWP_CTRL=img_optm&LSCWP_NONCE=4374e2d290&litespeed_type=new_req 04/28/20 01:12:48.787 [162.158.179.154:59556 1 is9] HTTP_REFERER: https://chymeochy.com/wp-admin/admin.php?page=litespeed-img_optm 04/28/20 01:12:48.787 [162.158.179.154:59556 1 is9] User Agent: Mozilla/5.0 (Linux; Android 10; SM-G985F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.116 Mobile Safari/537.36 EdgA/45.02.4.4931 04/28/20 01:12:48.787 [162.158.179.154:59556 1 is9] Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3 04/28/20 01:12:48.787 [162.158.179.154:59556 1 is9] Accept Encoding: gzip 04/28/20 01:12:48.787 [162.158.179.154:59556 1 is9] Cookie _lscache_vary: admin_bar:1;logged-in:1;role:99 04/28/20 01:12:48.787 [162.158.179.154:59556 1 is9] X-LSCACHE: true 04/28/20 01:12:48.787 [162.158.179.154:59556 1 is9] LSCACHE_VARY_COOKIE: wp-postpass_81ae48d2299bb16c9b9cb3329e068df7 04/28/20 01:12:48.787 [162.158.179.154:59556 1 is9] LSCACHE_VARY_VALUE: vn+webp 04/28/20 01:12:48.824 [162.158.179.154:59556 1 is9] [Ctrl] X Cache_control -> stale 04/28/20 01:12:48.824 [162.158.179.154:59556 1 is9] [Ctrl] X Cache_control -> no Cache ( logged in user ) => LiteSpeed\Debug2::debug()@354 => LiteSpeed\Control::set_nocache()@381 => LiteSpeed\Vary->__construct()@45 => LiteSpeed\Instance::get_instance()@22 04/28/20 01:12:48.850 [162.158.179.154:59556 1 is9] [Media] init 04/28/20 01:12:48.850 [162.158.179.154:59556 1 is9] [Placeholder] init 04/28/20 01:12:48.850 [162.158.179.154:59556 1 is9] [CDN] init 04/28/20 01:12:48.850 [162.158.179.154:59556 1 is9] [Router] CDN bypassed: is not ajax call 04/28/20 01:12:48.850 [162.158.179.154:59556 1 is9] [Router] CDN bypassed: ajax call from admin 04/28/20 01:12:48.850 [162.158.179.154:59556 1 is9] ⏰ Task init 04/28/20 01:12:48.850 [162.158.179.154:59556 1 is9] [Router] LSCWP_CTRL: img_optm 04/28/20 01:12:48.850 [162.158.179.154:59556 1 is9] [Router] LSCWP_CTRL verified: 'img_optm' 04/28/20 01:12:48.850 [162.158.179.154:59556 1 is9] [ImgOptm] init 04/28/20 01:12:48.850 [162.158.179.154:59556 1 is9] [Router] parsed type: new_req => LiteSpeed\Debug2::debug()@354 => LiteSpeed\Router::verify_type()@425 => LiteSpeed\Img_Optm::handler()@1760 => LiteSpeed\Router::handler()@701 04/28/20 01:12:48.850 [162.158.179.154:59556 1 is9] [Img_Optm] allowance_max 200 wet_limit 1 04/28/20 01:12:48.850 [162.158.179.154:59556 1 is9] [Img_Optm] preparing images to push 04/28/20 01:12:48.851 [162.158.179.154:59556 1 is9] [Img_Optm] need gather due to no new raw image found 04/28/20 01:12:48.851 [162.158.179.154:59556 1 is9] [Data] Checking table img_optm 04/28/20 01:12:48.852 [162.158.179.154:59556 1 is9] [Data] Existed 04/28/20 01:12:48.852 [162.158.179.154:59556 1 is9] [Data] Checking table img_optming 04/28/20 01:12:48.852 [162.158.179.154:59556 1 is9] [Data] Existed 04/28/20 01:12:50.162 [162.158.179.154:59556 1 is9] [Img_Optm] Added raw images [total] 3662 04/28/20 01:12:50.168 [162.158.179.154:59556 1 is9] [Core] CHK html bypass: miss footer constThis is caused by failed to upgrade your existing image optm tables. You can either use
Destroy All Optimization Datato start over (this is recommended), or following these steps:Go to your mysql admin page, e.g. phpmyadmin, choose your wp_litespeed_img_optm table, run the following command (remember to change the table name prefix
wp_to your own):===== The related SQL will be in the pinned topic ====
We will pin a v3 trouble shooting topic in this forum to address this.
-
This reply was modified 5 years, 11 months ago by
Hai Zheng⚡.
-
This reply was modified 5 years, 11 months ago by
Hai Zheng⚡.
Thank you very much, after Destroying optimization data, I was able to get it work.
-
This reply was modified 5 years, 11 months ago by
The topic ‘Image optimization not working V3’ is closed to new replies.