Image optimization issue




Wordpress LScache Plugin: Image optimization issue

Last Updated on: Wed, 15 Apr 2026 00:00:02
Hey, I have issue with your plugin. In the past all new images was optimized by default. Now its like 60% and rest of images is just ignored. I notice first time this issue after curl timeout error which I had yesterday. Since that image optimization dont work anymore as it should. I already turned on debug option. Im using last version of wordpress and last version of your plugin. Is there any way to force your plugin to recheck all images and optimize ignored one? HI @siergiejpoz, sometime there might have an error when our server is on heavy load, please try to Clean Up Unfinished Data & Reset IAPI Key and re-run the optimization. Hi, Did you notice when the curl timeout happened? We tweaked one param in curl for crawler in https://github.com/litespeedtech/lscache_wp/commit/64e7f2af39e57ed3481cae934270cf24f4695ba8 . Maybe we should do same to image optm curl func. What if you larger the following timeout param one by one? Will it fix the issue? https://github.com/litespeedtech/lscache_wp/blob/master/litespeed-cache/admin/admin-api.class.php#L383 https://github.com/litespeedtech/lscache_wp/blob/master/litespeed-cache/admin/admin-api.class.php#L436 https://github.com/litespeedtech/lscache_wp/blob/master/litespeed-cache/inc/img_optm.class.php#L1053 https://github.com/litespeedtech/lscache_wp/blob/master/litespeed-cache/inc/img_optm.class.php#L1105 I did a little more checking and I found that other website which I got to manage have similar issue. Again last version of plugin and wordpress and some images are just ignored by your plugin (but in second website is like 10% only). Im checking right now if its not connected somehow which another plugin (I doubt for that, there is only few plugins used on both sites). Both sites are hosted on different hosting so issue is somewhere else. Im going to use your plugin on another two sites and we will see. For now, can you confirm that all your servers work well? First think which I got in my mind that there is something wrong with one of them and because of that part of images can not be compressed. Hi @siergiejpoz, yes our image server is working fine, please let us know if you have any updates. Everything working fine again for now. Im still watching the situation. Hi @siergiejpoz Im going to close this topic now. If you run into the problem again, let us know and we can re-open this thread. Thanks!



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



Reference