Chat with us, powered by LiveChat

This website uses cookies

Our website, platform and/or any sub domains use cookies to understand how you use our services, and to improve both your experience and our marketing relevance.

Say hello to redesigned Cloudways, an empowering Startup Program, enhanced Staging, a new Let’s Encrypt Wildcard SSL certificate feature, and more. READ MORE

Boosting Moodle Performance – Tips to Speed up Your Moodle Install (Part 2)

Updated on March 26, 2013

4 Min Read
Reading Time: 4 minutes

It’s been fairly long since we last posted on our blog roll. We have been impedingly busy covering our newest discount promotion on various other platforms. If you by now haven’t had a go on our discount services, here is a blog post on what the newest promo has in store for you.

Additionally, go through these posts as well to get a hang of our preconfigured web app platforms, which too are now on a discount for limited time.

Boost Moodle Performance

Coming back to where we left; we previously told our readers some great tips and tricks with which they can charge up their Moodle website. However, over there we covered some of the very basic yet beneficial aspects for performance optimization.

Here, is a part two on “Boosting Moodle Performance” where we will be telling you some more tips and beneficial modules that can render your Moodle website to increase its speed more.

Optimize Your Moodle Images

We all know that un-optimized images on whichever website they are tend to make it heavy. Same goes for Moodle too. If you are using images and graphics on your Moodle website to engage visitors (say banners, course syllabus images etc), it’s of great importance that you might want to first optimize them and then publish.  Graphics on any website that is optimized (compressed) is transferred rapidly to visitors and loads your pages fast.  Especially, if you have a reputation of welcoming distant learners and you don’t want to spoil their UX with slow loading, this is one must- to- do tip for your Moodle website.

Optimize Your Module Selection-Enable What’s in Use, Disable What’s Not

You can easily activate or deactivate modules, filters and other extension that reside on your Moodle website. However, those plug-ins that are either preconfigured or/and have little or no use should be deactivated from your admin interface. This step also saves your website to be chockfull of unneeded modules that are just making your website heavy.

Some of these modules like “chat” tend to flood your sever with constant HTTP request. If you feel like you don’t need or use it, you may want to disable it. If you feel like doing it, same can be done to “quiz” and “recent activities” modules.

Integrate Nginx, Lighttpd And Cherokee To Optimize Performance

If your Moodle website is heavily visited, still you want to make amends in its slow loading time, you may want to use light weight webservers such as Nginx, lighttpd or Cherokee to increase your server performance. They can also be used in combination with PHP however, Lighttpd is primarily recommended for servers that have low memory but are still used to run Moodle infrastructure.

Additionally, both Nginx and lighttpd can be used as load balancers for alleviating load from your servers, providing an alternative benefit without even using secondary load balancing softwares. For more information regarding these webservers, we suggest you to visit Moodle docs.

Optimize PostgreSQL Performance

This one here is quite a lengthy step to undertake however, there has been quite some documentation put together for PostgreSQL optimization for Moodle. We recommend you to have a look on PostgreSQL documentation on Moodle Docs. Once integrated you need to preplan the schedules for using its features.

While using PostgreSQL make sure you have auto vacuum enabled all the times but if you are more into the technical side and want to do a full vacuum, do it on the timings when you know that there is going to be less activity on your website. Some e-learning sites can predict their low activity periods, for them, running a weekly full vacuum can be a best option.

Enable Page Compression By Using Mod_Deflate

We previously told you to use Php accelerators that can greatly influence your website to load fast. Here, if you under take this step coupled with the use of Php accelerator you can consider your performance optimization job, best done.  It’s a no-brainer that your website is made up of many cluster of files. Once any visitor comes to your website these files are send to that visitor’s browser, later to be made into your website. If those pages or files are pre-compressed they would be transferred to your visitor’s computer fast. Hence, it is of great importance to use Mod_Deflate to compress your http requested pages. However, you might want to ask your hosting provider to help you in integrating mod-deflate in to your sever.

Over To You

We believe these tweaks can greatly enhance the speed of your Moodle website, but you might want to first consider the basics like increasing your server ram and memory and acquiring the recommended configuration for your Moodle version. Hosting, itself can be a variable of a sluggish Moodle website so; if you have not already addressed your hosting provider in fulfilling you your requirements, implementing these steps can be futile.

All-in-all, we would appreciate it if our readers would suggest some other Moodle optimization tips and their experiences with them. We will surely add them in our next post regarding Moodle performance optimization.

Avail Your Free Consultancy

Share your opinion in the comment section. COMMENT NOW


Cloudways is a European MSP that provides custom cloud design, deployment and management solutions on leading cloud providers.

Start Growing with Cloudways Today.

Our Clients Love us because we never compromise on these

Do you like what you read?

Get the Latest Updates

Share Your Feedback

Please insert Content

Thank you for your feedback!