My 2 Cents Top Measures To Optimize Websites Made In Drupal


Content Writer
Drupal is one of the most widely used CMS apps worldwide but it has often been criticized for being slow. It is what most bloggers would say and some developers and site owners also echo the view. But is Drupal actually that slow? Truth is it is not sluggish by default and the outcome depends on the way you use it. Even a latest 4G Smartphone with high end spec will become slower if you run multiple apps at all times and cram the memory with data to the brim! The same can be the case with Drupal.

Below listed are main reasons behind slowdown of Drupal and the ways to overcome them:
  • Memory issues - To ensure Drupal based sites do not come to a crawl- ensure you do not just meet the bare minimum requirements for running the CMS-but opt for the recommended standards. This holds true for memory requirement as well. Drupal 8 requires PHP 5.5.9 or higher as the minimum requirement so it is better to stick with PHP 6 or later versions for enhanced performance. It also requires PHP memory limit to be 64 MB as minimum.
  • External Resources - In Drupal, you get support for plenty of external resources but going overboard can prove to be detrimental for the site in long run. You can use RSS feeds, Flickr photos and feeds from social media platforms like Twitter and Facebook, for example. Beyond doubt, adding such stuffs to your site will enhance its appeal and looks to an extent. But as the site needs to fetch in more RSS feeds, tweets and videos- it is bound to slow down after a time. So, it is prudent that you use such resources with caution and abandon what is not necessary.
  • Database Configuration - Some web hosting providers actually keep site servers distinct from the database server. This may be economically viable for them and end users too. But Drupal relies a lot on database. This means every time you run a query in Drupal - the travel path is through network-which can affect speed. So, ensure your web host does not keep site servers separate from the database.
  • Site cache - While Drupal’s inbuilt caching tools are capable of improving site speed, you should be aware of factors that can bring down their efficacy! One such instance is the app’s Captcha module. It stops spam and eliminates fake accounts and so plenty of developers prefer to use it. But it can deactivate caching on pages in certain situations. The same thing can be caused by few RSS feed displays too. You need to have an eye open for such issues that can affect caching.
  • Web and database server - Yes, you can run Drupal on both Microsoft IIS and Apache servers. But, keep in mind that Drupal was mostly developed on Apache and so it is a better choice. Similarly, you can run Drupal with some database servers too but MySQL is more suited than others.