Slow on first page load

10 years 5 months ago
Jordi
Posts: 9
More
Topic Author
Slow on first page load #1
Hi,

Joomdle seems much slower the first time I visit a page. Then I can broswe the site pretty quickly. But when I visit the site again after a few hours, the first page load is always much slower (I'm not loggin in, just visiting the site as a guest).

Any tips on how to improve this? Is this due to session start? Any settings I can change in the server or in Moodle to improve speed?

Thanks,

Jordi

Please Log in or Create an account to join the conversation.

10 years 5 months ago
Chris
Posts: 2118
More
Slow on first page load #2
You did not mention what is the page you are first loading. Example a Moodle course, a Joomla article etc.

There could be many things causing the first page to load slowly and likely to be the cache is expiring.

Please Log in or Create an account to join the conversation.

10 years 5 months ago
Jordi
Posts: 9
More
Topic Author
Slow on first page load #3
Hi Chris,

thanks for the quick reply.

It happens with any page (all pages have at least the Joomdle calendar). I've tried visting first the homepage, or a simple article with the Joomdle calendar, and it's always the same. About 7 secons to load the first page, and then you can visit any page and it's much quicker.

Also, the cache in Joomla is completely disabled while I'm developing the site.

(That's why I thought it might have something to do with Joomdle starting session in Moodle, if that makes any sense?)

Any ideas?

Thanks again,

Jordi

Please Log in or Create an account to join the conversation.

10 years 5 months ago
Chris
Posts: 2118
More
Slow on first page load #4
Yes it does make sense sort of. It is still a little difficult to tell the exact problem as it could involve many things including software, connectivity, database, memory, hard disk, cpu, etc. Other parameters include shared vs VPS vs dedicate server hosting; system cache, module cache and browser cache.

You didn't mention the performance load without the calendar, how much data is on the calendar eg our you publishing events from hundreds of courses, whether you are logged in as a student viewing his/her data on the calendar or a guest; or what the page load time is (not page to load to your browser but the load time from the server which can be shown using many of the page load tools).

Sometimes you may find, especially on a shared server, that one extra plugin or module could throw the server over the edge in terms of performance when you are reaching the server's upper limit.

You must also realise that you are not just loading Joomla programmes and data but also Joomla programmes and Joomla and Moodle data which will increase the number of SQL queries. That said we have not experienced serious performance issues when loading the calendar.

Personally, I would disable the module and see the difference between first and subsequent loads. Check your module parameters for module cache, try loading a different Joomdle Module instead. Compare loading Joomla on its own, Moodle on its own and then Joomla with a Joomdle module.

Sorry I could not be of more assistance, at this point there are far too many parameters to narrow down the issue.

Please Log in or Create an account to join the conversation.

10 years 5 months ago
Jordi
Posts: 9
More
Topic Author
Slow on first page load #5
Hi Chris!

Thanks for all the ideas, I'll do some testing and let you know if I find a solution,

Thanks again,

Jordi

Please Log in or Create an account to join the conversation.