Joomla 4 admin console
When you login and there are Post Installation Messages there is a number next to the icon in the header
Expect that number to be cached and not to generate additional sql queries on every single page load
On every single admin page load there are additional sql queries to check the post install message conditions.
Example with "Two Factor Authentication is Available" message which calls twofactorauth_postinstall_condition
function on every page load
ok so 441μs
is not a lot - but this can multiply if there are a lot of conditions to check and is just another mysql query that is not needed to run on each and every page load.
Labels |
Added:
?
|
Maybe messages could be disabled (hidden) in the database once their conditions are met?
i'll not close this issue for now..... i'll wait for some more feedback
cause i think more can be done/cached
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2021-04-26 17:21:46 |
Closed_By | ⇒ | alikon |
#33344 doesn't fix this.
It needs to be implemented as an ajax call like the other badges, so that it can be cached and can also only check periodically. and not have to process all the post installation conditions on every page load ever. Thats simply just a waste.
For example see this - #32995 this SQL runs on EVERY page of the admin console.
@alikon Please reopen.
@YatharthVyas a good try though.
sure
Status | Closed | ⇒ | New |
Closed_Date | 2021-04-26 17:21:46 | ⇒ | |
Closed_By | alikon | ⇒ |
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2021-04-26 17:39:12 |
Closed_By | ⇒ | PhilETaylor |
Related to #29702
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/29950.