Site speed is particularly slow
Created 7 years ago by spotony
select * from `applications` left join `applications_domains` on `applications`.`id` = `applications_domains`.`application_id` where `applications`.`domain` = '' or `applications_domains`.`domain` = '' limit 1
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  —  7 years ago

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

spotony  —  7 years ago

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

ryanthompson  —  7 years 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  —  7 years ago

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