How to enable cache javascript on a Moodle 3.10? (split from Load Testing Moodle 3.7 with Adaptable Theme)
Re: Load Testing Moodle 3.7 with Adaptable Theme
I saw that you've tried at another place too: https://moodle.org/mod/forum/discuss.php?d=405359#p1677102. Why don't you start your own thread giving full background information. Riding piggy-back on other discussions is not well received in forums.
If it is a caching issue, Hardware and performance forum could be relevant, or even the General developer forum.
Re: Load Testing Moodle 3.7 with Adaptable Theme
Re: Load Testing Moodle 3.7 with Adaptable Theme
BTW, I am just a community member, can't delete nor have the intention to delete posts. The usual practice of the moderators here is to move discussions between forums or in this case, split the "branch".
Re: Load Testing Moodle 3.7 with Adaptable Theme
Thank you.
Re: How to enable cache javascript on a Moodle 3.10?
No harm. Expecting the sub-thread will be split, gave it a new subject line.
What happens wenn you enable Site administration > Appearance > AJAX and Javascript: Cache Javascript (cachejs)? Or, do you have it in config.php as $CFG->cachejs = true; ? What happens?
What is your platform? Windows? Linux? Which flavour/distribution/version? PHP? Other caching mechanisms utilized? Redis? Memcache(d)? (reverse) proxies (Varnish? Nginx? ...)
Re: How to enable cache javascript on a Moodle 3.10?
I enable it on the site admin > Ajax and Javascript Cache - Yes. I have a cPanel with Linux, PHP. I have a WHM with a few Moodle sites using the same caching systems. Everything is fine with them. Just this "old site" from 2009 has the problem.
Re: How to enable cache javascript on a Moodle 3.10?
So all the other sites work perfectly https://moodle.org/mod/forum/discuss.php?d=405359#p1676827. Only this "old site" from 2009 has a problem? What happens when you activate Javascript cache? See my previous post.
And also we need much more details about the software. See my earlier post (the one with many question marks). You want a specific answer to a specific technical problem, right? Then we have to be technical, sorry!
As already said, I don't know this Javacache corner. The idea is for you to provide enough information here so that a specialist can give advice.
Re: How to enable cache javascript on a Moodle 3.10?
Thank you for your help. I believe I responded "somewhere" on what happens when I activate javascript cache. The menus "freeze". There was no error message when I turned debugging fully on, but the menus including the profile menu and turn editing on stopped functioning. They didn't open. Does that make sense?
The answer I got from Edwiser support when I enquired whether their theme was interfering with the enable javascript was to keep cache javascript disabled. BTW, when using Boost I was having the same technical issues.
If the issue is not a plugin on my Moodle site, then is it something else? Or is it a Moodle 3.10 occurrence?
I hope things will go back to normal and I will not need be able to use Google Meet for Moodle with the cache javascript off. I know the developer is working on it.