Login Slow
-
Your plugin is calling the function “get_logs_avg_load_times_before_and_after_the_warmup” in class-assets-dashboard.php, I have disabled the “wp_localize_script” function call, which called this on login – in my instance this was adding 33 seconds to the login / or displaying the dashboard, which is not really acceptable. I did review the query and play with it a bit, but I was getting the same results across the board (added more index’s, changed which side we started with), but none really made a difference. Based on this for a large site, it maybe crippling.
I would say move this calculation to a cron process for the background task and then display that on the dashboard from a table cache or similar.
Another option maybe to allow users to disable this from loading on the dashboard.
Great plugin, do keep up the good work.
You must be logged in to reply to this topic.