User tests: Successful: Unsuccessful:
Adds prepared statements and cleans up queries in Joomla\CMS\Helper\ModuleHelper.
Create some modules with all sorts of different settings, e.g. different states, publishing times, menu assignments, languages, etc. Test that modules are rendered only when they should be, i.e. works like before.
Works like before.
No.
| Status | New | ⇒ | Pending |
| Category | ⇒ | Libraries |
| Labels |
Added:
?
|
||
I have tested this item
Code review + test if modules still work as before.
| Status | Pending | ⇒ | Ready to Commit |
RTC
Thank you for making Joomla a bit more secure and optimized.
| Status | Ready to Commit | ⇒ | Fixed in Code Base |
| Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-08-25 18:07:22 |
| Closed_By | ⇒ | HLeithner | |
| Labels |
Added:
?
|
||
Hello, is it possible to do the same in the menus (to create a cache id and filter by language) ?. Joomla is a great CMS, but in a real world one of the biggest limitations is that it makes no sense that it has the possibility of being multilingual if that feature makes it unfeasible to navigate because the query is extremely slow in a large system, say where There are 5 menu levels in the first level, 20 submenus of the second level per menu and 20 submenus of the third level per submenu, and also repeated by say 5 or 6 languages, the query is around 6000 and that is not practical, You should only make the query for the displayed language and the best thing is that the query will be done in ajax in the sub-levels to avoid consulting everything together and the worst thing is that it loads the total result, of the almost 6000 menus, that is a bad design. How many pages with 1 or two first level menus and 1 or 2 sub-levels deserve to be in 5 languages? Basically none, if a platform has multilanguage capability it is for a robust construction, but it would not make sense, or in its case a less robust platform like WP would be used.
@SharkyKZ I have seen your contributions and it seems to me that you can possibly give an efficient and effective solution to this situation that at the time was seen in issues #13054 #13054 but that never really was solved, it was tried to repair with indexes but I understand that it goes beyond, first of all the problem of how the queries are made (queries). I am another Joomla user, I am not the one who started #13054, but the same problem arises. Please apologize in advance if this is not the right place to request this. Thank you all for your great work.
@Stuartemk I don't understand how your post is related to this PR here.
It seems to me that to do (id cache) and (filter by language) as if you did here, it would be possible to make the menus. @richard67
@Stuartemk it's best that you open a new issue for this.
@Stuartemk Please open a new issue at https://issues.joomla.org so this doesn't get lost.
I have tested this item✅ successfully on a2e7ec8
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/26015.