5 Tips To Make Your Drupal Website Lightening Fast
Scenario: You installed Drupal as your website, it was working great at the start but with gradual additions of modules, blocks and changing your website architecture, Drupal which was lightening fast, became slow as a turtle. You have tried everything, from rebooting the server to increase of RAM but just can’t figure out, what is wrong.
This is the exact problem we are addressing below:
Drupal has emerged as a highly flexible framework that now runs the world’s heaviest and largest websites, Consider, NASA or the White House Website for example.. Still, many people are of a view that Drupal engine is a bit slow in performance. No big deal. When working with any large framework,and complex architecture it generally tends to slow down a little (like any other CMS Engine).
But unlike other CMS, Drupal with correct configuration and with sharp focus on certain specific optimization factors, the performance of Drupal based website can be improved handsomely.
How you Ask? Here are five simple but highly effective ways to speed things up on your Drupal site.
Server Configuration
Appropriate designing of server configuration plays a very important role in the scalability and performance of Drupal site. It should be designed in such a way that will facilitate us in scaling certain portions of it independently of other. That’s why, it is recommended to architect the server in a role-based way.
Web Server: Apache and Microsoft IIS. But Apache is recommended because most of Drupal has been developed on Apache.
Database Server: MySQL, and PostgreSQL
Front-End Cache: Varnish, potentially a CDN
Other Caches: Memcache (alternative caching mechanism for Drupal)
Other External Applications: Apache Solr server can be used to implement search functionality in Drupal and offload search traffic from the SQL database.
In addition, database server, web server, and disk space requirements can be easily handled with ease. But meeting the PHP requirement is also a major problem where most of people generally fail. So, always focus on PHP requirement.
Caching
In case of Drupal, Caching is no different. Enabling Drupal's cache feature makes your site to start storing database queries and their results in a series of special files designed to hold cached data. As a result, your site will apply these pre-rendered queries and their results to load your website faster. No matter how many people visit your site, it will help you provide better experience.
Database queries
Extremely slow database queries make site loading time, more than a minute. It is advised to use only those modules your website needs. Eliminate those modules which are not in use. Before eliminating any module from your modules directory, make sure you disable and uninstall it completely.
Handling heavy images
Heavy images can increase load time significantly, so make sure the images used in your site are appropriately optimized. Give every file a sensible name for easy readability, and compress images to a size that promotes easy loading, but also maintain acceptable quality for usability.
Avoid Using Unnecessary Modules
If you overcrowd your Drupal site with modules, sooner or later, you are going to experience a drop in performance. The best practice is to limit the number of modules as much as you can. Keeping the module numbers around 100 is always acceptable, but using them in hundreds can impact the performance significantly.
There are also many other ways to improve performance of Drupal website. We at OSSCube have expertise in taking a slow Drupal website and making it unbelievably fast. So, feel free to extend this conversation by comment below or just dropping us a line.











