Easy quick performance boost for Moodle!

Easy quick performance boost for Moodle!

by Grant Mucha -
Number of replies: 3

I have a solid recommendation for anyone using Moodle on an underpowered server. In fact anyone can use this to increase overall performance!

Everything listed below is free and working with my Moodle 2.2+ installations

http://cloudflare.com

I currently use their free service on four Moodle websites and I noticed a dramatic increase in performance.

Performance

  • Globally-distributed network
  • Secure, redundant DNS
  • Anycast routing technology
  • Automatic static content caching
  • Always Online
All of the above will help any Moodle installation. Even just the static content caching alone is huge!


Basic security

  • Email harvesting protection
  • Reputation-based threat protection
  • Server side exclude ability
  • Hotlinking protection
  • Browser integrity checks
  • Threat control dashboard
  • Block traffic by country or IP range
  • Alert infected human visitors
  • Identify new threats for community
All of the above is nice. I love the Block traffic by country or IP range. Our installations reject all incoming requests outside our set country. No more attempts from Japan, Russia, etc. This helps free up system resources and saves bandwidth!


Control

  • Easy DNS management
  • Threat challenge page
  • Offline browsing page
Setup took about five to ten minutes. However, you have to update your DNS which takes time!


Analytics

  • Stats for all the traffic to your site (threats, search engine crawlers and visitors)
  • Outbound link tracking
  • Visitor IP geolocation lookup

It never hurts to have extra analytics to review from time to time.

I know performance is always an issue with Moodle and I hope the above helps! 

Average of ratings: Useful (3)
In reply to Grant Mucha

Re: Easy quick performance boost for Moodle!

by Grant Mucha -

I've created a page dedicated to this!

http://nginx.ddns.net/moodle-with-cloudflare/

To elaborte on my efforts I've included some images demonstrating my savings in requests and bandwidth.

Also by blocking various countries reducing overall use and attempts by webbots, hackers, etc

 

Average of ratings: Useful (1)
In reply to Grant Mucha

Re: Easy quick performance boost for Moodle!

by Rex Lorenzo -

Grant, how many courses does your Moodle site run?

Are there any big (1000+ courses) sites out that using CloudFlare? How are your experiences?

In reply to Grant Mucha

Re: Easy quick performance boost for Moodle!

by Visvanath Ratnaweera -
Picture of Particularly helpful Moodlers Picture of Translators
There are some issues with Cloudflare elsewhere. May be you can help:
- "This site is not available - lots" http://moodle.org/mod/forum/discuss.php?d=199141
- "moodle.org slow" http://moodle.org/mod/forum/discuss.php?d=204364
- "What is the function of CloudFlare in moodle.org?" http://moodle.org/mod/forum/discuss.php?d=205454