Quick Way to Optimize and Speed Up a Drupal 7 Website

The slow Drupal website takes poor browsing experience to visitors thereby leaving a bad impression. That brings about a bad effect to your site traffic and search engine ranking. For fear of such terrible situation, we list some tips as below to help you optimize and speed up a Drupal 7 site in a quick manner.

In general, the major causes of bad performance are overloaded queries per page, bad modules, excess amount of useless content, lack of caching, and so on. Any program that accounts for a large proportion of bandwidth can result in slow site speed. To speed up website effectively, refer to the following approaches to troubleshoot issues and then settle a matter.

Enable Cache on Website

Cache is regarded as one of the greatest methods to maximize performance of a website, for which reduces the database queries effectively. In this way, when visitors come back to the page they’ve browsed before, it takes less time to load information than before. You are required to turn on page caching via admin panel.

Log into your Drupal admin panel and go to Configuration > Development > Performance. Check the two options that allow page caching for anonymous users and blocks, and then click “Save Configuration” to save all changes.

Make Use of Drupal Cache Modules

Drupal Cache ModulesDrupal develops a collection of modules for the improvement of performance and scalability. That enables users to speed up website in an easy manner. The modules worth a shot are listed as below and each comes with a brief introduction.


Module URL: https://www.drupal.org/project/boost

As its name suggests, this module enables a significant boost for website performance and scalability by offering static page caching. That is applicable to the Drupal sites hosted with shared web hosting. Since Boost has the ability to maximize the reception of anonymous traffic, the anonymous users can load your web pages than ever before.


Module URL: https://www.drupal.org/project/varnish

Varnish integrates your Drupal site with Varnish HTTP Accelerator and takes control of anonymous page-views within your site. It is also a great method for a website with a large number of anonymous users. Unlike the Boost module, Varnish is created for the sites hosted on dedicated servers. Featuring admin-socket integration, the dynamic invalidation is available for all cache entries.


Module URL: https://www.drupal.org/project/memcache

Also called Memcache API and Integration, this module enables integration between Memcached and Drupal by featuring an API for using Memcached. A large number of settings are available for you to take a full use of this great module. A bunch of tests help you run a test to Memcache setup.

The selected modules mentioned above are popular with most webmasters in this field. Search for more options made for the same purpose via Drupal.org, like CSS Gzip, Block Cache Alter, JavaScript Aggregator, etc. And then, add new functions to your website with ease.

Turn Off Unwanted Modules

Turn Off Unwanted ModulesAlthough Drupal modules enable more possibilities, it is not a smart move to install excessive modules on your site. Leave the modules of value and disable the useless ones. Overloaded modules have your database filled with too much unnecessary data so as to take a bad effect on website performance. That can be down via Drupal admin panel > Modules.

In addition to turning off some modules on the shelf, the overlay module, update manager module and devel modules should also be taken into consideration. If you have installed the toolbar module, you’d better replace it to the Administration Menu module.

Optimize Databases with DB Maintenance Module

Regular database optimization also takes an effect on the enhancement of website performance. We are going to do this with the help of DB Maintenance module, which optimizes the selected tables of database during the executions of cron.php file. Before everything, you should install this module on your website via Drupal admin panel > Modules > Install new module.

Since you have enabled the newly added module, go to Configuration > DB Maintenance and access to an interface displaying a list of table of your database. Determine which tables should be optimized and then launch database optimization by clicking “optimize now”.

Bandwidth Optimization

Bandwidth Optimization is a simple-to-use function for reduction of the size and quantity of requests to your website, in terms of CSS files and JavaScript files. That optimizes the way to send CSS and JavaScript information to visitors so as to do it in an efficient way. Log into your Drupal dashboard and go to Configuration > Development > Performance.

The Bandwidth Optimization setting mode is placed under the Caching mode. Check “Aggregate and compress CSS files” and “Aggregate JavaScript files”, and then save configuration.

Drupal Bandwidth Optimization

Resize Images in Proper Size

All solutions mentioned above troubleshoot issues on the backend. However, you should also turn attention to your website frontend. Images become an indispensable part of a website, so is a Drupal site. Since the abuse of images makes your site in a complete mess and brings visitors bad browsing experience, you should pay more attention to image optimization.

The large images with too much resource occupied and take longer time to load. That is also a main cause to bad performance. Make sure that all images have been resized properly before uploading and get each one in exactly the right place.

Turn to a Fast Drupal Hosting Provider

A reliable Drupal hosting provider can be a part of your success and that should integrate with the most advanced technologies. Here, we would like to list the top 3 Drupal web hosting trusted by millions of webmasters worldwide in the following table. In addition to 100% Drupal compatibility, those companies all utilize the world-class data centers consisting of multiple robust servers.

That delivers at least 99.9% uptime to each hosted site along with fast page loading speed. Among those recommendations, InMotion Hosting deserves to be mentioned because of its fast server response time like no one else, namely, 237ms on average. Purchase a Drupal hosting solution if you plan to turn to a new hosting provider.