Site speed is particularly slow

spotony - 1 month ago

select * from `applications` left join `applications_domains` on `applications`.`id` = `applications_domains`.`application_id` where `applications`.`domain` = 'www.eme100.com' or `applications_domains`.`domain` = 'www.eme100.com' limit 1
2.15ms
em_system
select * from `em_settings_settings`.  2.2ms

This two-day database query statement led to the site speed is very slow, ask what reason?

ryanthompson - 1 month ago

Is it doing that every time? It should be caching that result. Are you up to date?

spotony - 1 month ago

@ryanthompson Yes, this is up to date. How to cache these two data? Please advise! Thank

ryanthompson - 1 month ago

I can push a patch to cache settings model. And .. applications I suppose could be cached as well. I'll handle it for ya.

ryanthompson - 1 month ago

I just updated preferences and settings module to both cache. More to come ^_^