Really slow load time in litespeed plugin settings (image opt.)
-
We are having a strange issue. We have a dedicated new server (ubunti 24, litespeed + plesk, 48 cores 256gb ram) and we transfered one woocommerce eshop for the moment just to test the optimal setup.
We loaded it with 25k products. So far when logged in load times are 0.7-1.5 sec in admin dashboard which is great. But we are having a really strange issue.
When loading some Litespeed Settings (wordpress plugin) load time is 10-20 seconds. We installed query monitor and find out that there are 2 callers that cause the issue:
- LiteSpeed\Img_Optm->img_count()
wp-content/plugins/litespeed-cache/src/img-optm.cls.php:1722- LiteSpeed\Admin_Display->show_menu_dash()
wp-content/plugins/litespeed-cache/src/admin-display.cls.php:614 - do_action(‘toplevel_page_litespeed’)
wp-includes/plugin.php:517
- LiteSpeed\Admin_Display->show_menu_dash()
- LiteSpeed\Img_Optm->img_count()
wp-content/plugins/litespeed-cache/src/img-optm.cls.php:1723- LiteSpeed\Admin_Display->show_menu_dash()
wp-content/plugins/litespeed-cache/src/admin-display.cls.php:614 - do_action(‘toplevel_page_litespeed’)
wp-includes/plugin.php:517
- LiteSpeed\Admin_Display->show_menu_dash()
From what we undestood is that litespeed tries on each load to scan all images in our website (which are about 270k). Is this normal? We added some indexes and dropped load time to 4.5 sec but still this is not normal.
Anyone knows what could be wrong?
Thank you
- LiteSpeed\Img_Optm->img_count()
- You must be logged in to reply to this topic.