User tests: Successful: Unsuccessful:
Based on the Pull Request #45062 .
Add lazy loading to all plugins
Test if joomla still works, every situation where a plugin is in the game.
It's unlikely that all cases can be tested. Deeper testing will likely be done in beta1 to rc1.
Also code review should be done.
Works
Still works, with less memory usage and less cpu cycles (fast).
Please select:
Documentation link for guide.joomla.org:
No documentation changes for guide.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed
| Status | New | ⇒ | Pending |
| Category | ⇒ | Front End Plugins |
| Title |
|
||||||
| Title |
|
||||||
| Labels |
Added:
PR-6.1-dev
|
||
I convert this to draft because there are some language autoloading issues.
You discovered a bug in com_scheduler.
The component should load translations from .sys.ini , in the same way as it don in Plugins component:
joomla-cms/administrator/components/com_plugins/src/Model/PluginsModel.php
Lines 184 to 195 in 508ac3d
depends if you see it a bug, actually the plugin is created and loads the language
Plugin should load only language that need for its runtime, nothing more.
That why we have .sys.ini
@HLeithner System Logout plugin destroys own cookie in constructor.
To be honest, I don't understand how this cookie can help with plugin behavior:
The system logout plugin enables Joomla to redirect the user to the home page if they choose to logout while they are on a protected access page.
This cookie is only destroyed and set in this plugin and seems like not used anywhere else in the code.
Won't the logic be broken if constructor execution is delayed?
| Category | Front End Plugins | ⇒ | Administration Front End Plugins |
@HLeithner System Logout plugin destroys own cookie in constructor.
To be honest, I don't understand how this cookie can help with plugin behavior:
The system logout plugin enables Joomla to redirect the user to the home page if they choose to logout while they are on a protected access page.
This cookie is only destroyed and set in this plugin and seems like not used anywhere else in the code.
Won't the logic be broken if constructor execution is delayed?
I'm not sure what this cookie does... I remove lazyloading from the plugin for now.
the commit messages from the svn was "[#23208] Logout from edit screen gives 403"
earlier it registered an error handler for 403

I looked at the PR when JError has been removed.
In this pr the error handler has been remove and if I didn't overlooked something drives this plugin obsolete and can be removed.
@laoneo might remember if the functionality has been recreated somewhere else. (redirect logout users if they are in a protected area)
@HLeithner don't think so that the functionality has been recreated somewhere else about the error stuff. But not sure.
@HLeithner Just curious, did you measure the performance changes with this PR?
didn't measured it yet, also performance might not be the main point, we reduce memory footprint, especially when languages are not loaded.
| Status | Pending | ⇒ | Fixed in Code Base |
| Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2026-02-13 08:27:47 |
| Closed_By | ⇒ | tecpromotion |
To get more testers and 3rd party devs can test this, we've merged this for the beta1 release.
Thanks @HLeithner
I have tested this item ✅ successfully on c11d811
Tested these changes on a Joomla 6.1.0-alpha3 system and all the plugins I tested still works as expected.
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/46862.