Page loads very fast but header menu loads after some time

Page loads very fast but header menu loads after some time

by Nusrat Shah -
Number of replies: 3

Hi everyone! I have moodle setup new installation. there aren't any courses or students as of yet, and it was very fast and it still is. but one annoying thing is happening. Moodle header menu doesn't appear immediately it appears after some time. This also happens with settings upper menu buttons.

I am talking about this:
Header menu of moodle

This looks like this when page first loads:
Empty header on moodle lms

Average of ratings: -
In reply to Nusrat Shah

Page loads very fast but header menu loads after some time

by Mark Sharp -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers
Hi Nusrat,
you don't give any information about your system, but you can find some recommendations for improving performance here: https://docs.moodle.org/501/en/Performance_recommendations. Do read all the docs there. Overall performance is improved by incremental steps on various components.

You don't say what "some time" is. 2 seconds? 2 minutes?

The menu you're talking about is ajax driven, so will always appear after the page loads. Usually within a second.
Average of ratings: Useful (1)
In reply to Mark Sharp

Page loads very fast but header menu loads after some time

by Nusrat Shah -
Please check my this post: It has all the information about my system.
In reply to Mark Sharp

Page loads very fast but header menu loads after some time

by Nusrat Shah -
also when I open network tab in developer tools, it shows some file name require.min.js which is above 3 mb and it takes time to load.