Hi,
I have a problem with my environment, for me as admin the site low very fast(3-5 seconds) but for student or teachers is very slow, (20-30 seconds).
What might be happening here?
Thanks in advance
You can't expect us to help with no background information at all - can you?
Moodle version? Server configuration? What have you done to try to diagnose this? Is this will all pages or certain pages? etc etc
This is odd because it's normally the other way around and I wouldn't call 3-5 seconds 'very fast'.
This is another thing that might help.
I'm viewing this query running in the background of our database a lot of time and when I run it by myself it takes a lot to load 4 minutes:
SELECT NAME,VALUE FROM mdl_cache_flags WHERE flagtype = 'accesslib/dirtycontexts' AND expiry >= '1430831665' AND timemodified > '1430831449'
Thanks
Cristian,
some part of website rendering is to be done at client side, so I am assuming you are accessing your Moodle from the server, whilst teachers and students are using workstations which wont be as powerful as your server, but then 3-5 seconds is a lot considering accessing it from server itself.
I found the solution, I just recreated the table "mdl_cache_flags" and it fixed the problem. I realized that it had old registries.
Thanks.
Hi Cristian,
I have also same issue, and followed your solution step.
Truncated "mdl_cache_flags" table in database and tried to run the site.
There is no change on site loading. Taking time to load.
Please give me the right solution.
Thanks in Advance.
What is the performance like if you disable javascript in the browser?