User tests: Successful: Unsuccessful:
See #5996. This shuffles around the checks in the modules renderer to bail out as soon as possible for the module editing. The only functional change is, that module editing with this requires that the user is logged in regardless of the permissions set. The situation that an unauthenticated user is allowed to edit modules in the frontend, is VERY uncommon.
Make sure that you are not logged in when doing this. There should be no change in performance if the user is logged in.
Labels |
Added:
?
|
Hit post too early. As you can see there are no duplicate queries now. So the queries take 3 second less
Status | Pending | ⇒ | Ready to Commit |
Easy | No | ⇒ | Yes |
@test
Done on my multilingual test site, home page default site language:
Guest
Before 6032:
After 6032
After but LOGGED as REGISTERED USER:
After but LOGGED as REGISTERED USER after switching to French Home page:
After logging out on same French Home page:
Switching to Italian Home page (still as guest)
Switching to German Home page (still as guest)
Switching to French Home page (still as guest)
NOTE: French has more menu items (+11) and one more module (Archived)
Category | ⇒ | Libraries Modules |
Thanks @Hackwar i can't do more than move to RTC! Thanks for coding and testing here!
Status | Ready to Commit | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2015-02-17 11:31:45 |
Merged. Thankyou very much Hannes!
Milestone |
Added: |
@test MASSIVE improvement thanks
before
after
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/6032.