-
Bug
-
Resolution: Won't Do
-
Minor
-
None
-
3.1
-
None
-
MOODLE_31_STABLE
Hello,
The administration menu works quite laggy. The browser receives the request in about 0.5 sec on my local machine which is about 20x slower that other requests. It generates about 3 sec. lag when connecting to the remote instance.
The culprit is load_administration_settings function inside /lib/navigationlib.php
the first run of the code launch code in the condition starting here:
https://github.com/moodle/moodle/blob/master/lib/navigationlib.php#L3662
xls file attached to the ticket shows particular times of invocation of the function load_administration_settings during ajax request.
The first run of this function takes about 95 % of execution of whole ajax script
Is there a way to optimise the functioning of the menu, maybe implementing a cache could do the job?
Thank you for considering my request.
- has been marked as being related by
-
MDL-41811 Load admin menus using AJAX when not on admin pages
-
- Closed
-