15 YouTube views, likes subscribers in 10 minutes. Free!
Get Free YouTube Subscribers, Views and Likes

How to Load Websites Faster in Moodle

Follow
Moodler Arjun

Hey guys, Hope you all are doing absolutely perfect.
In this video, I have shown you one simple optimisation trick, by which you can speed up the perfomanace of your Moodle site. Basically, on how to restructure the Moodledata folder.

Follow below Step by Step Instructions :
1) Look for datafolder path in config.php
2) Create a new folder out of moodledata or anywhere as per ur wish
3) Goto Moodledatafolder and move out 3 folder (cache,localcache,temp)
into newly created folder
4) Do not login to the website , when this process is going on, or else
it will create new folders in seconds
5) Open config.php and write new path for directories (cache, localcache, temp)
6) Purge old caches as admin, incase contents do not load properly

As you already be knowing that "moodledata" is a folder that contains user files, course files, site language, cached and other information. It is created in the Moodle install process. It should be located outside of the "moodle" folder and is called by default "moodledata" but the folder name can be custom one.The installation path for the moodledata folder can be found in config.php

In moodle architecture, it is permitted to set localcachedir to a folder on the local server which can make some things slightly faster.

$CFGtempdir Path to moodle's temp file directory on server's filesystem.
$CFGcachedir Path to moodle's cache directory on server's filesystem (shared by cluster nodes)
$CFGlocalcachedir Path to moodle's local cache directory (not shared by cluster nodes).

New Changes in config.php file :
$CFGcachedir = '/home/u924751840/domains/examhooks.online/customcache/cache';
$CFGlocalcachedir = '/home/u924751840/domains/examhooks.online/customcache/localcache';
$CFGtempdir = '/home/u924751840/domains/examhooks.online/customdatafolder/temp';

Read more about moodle by visiting :
https://docs.moodle.org/311/en/Main_page

I hope you gain something out of this video. Incase you got any queries, do comment the same in the comment box. Also please make sure to like this video and subscribe to my channel.
{ Moodle Arjun }: {    / @moodlerarjun   }

#moodlerarjun #moodleperformance #siteloadingissue

posted by lolamaarld