Software training courses are now available..!! email resume or Contact Us. C, JAVA, SQL, JS, HTML/CSS, PHP, Drupal, Wordpress

Drupal Performance Optimization

Drupal is one of the most popular CMS applications, offering stability and performance for almost any kind of site. However, if you don’t maintain it properly, it can become slow.At some point of time , Drupal can perform very poorly and all pages might look very slow. Not only Drupal but for Every CMS site you need to do some Optimizations to Improve Performance.Especially if you have hundreds or thousands of visitors on your website. That is why optimizing your Drupal site is an important task.

Here's some basic optimizing tips for those who need it:-

1) Enable Caching - Drupal Default Caching

Caching allows the server to store copies of webpages on the server. This allows the pages to load faster and reduce the overall load on the server. If you do not make frequent changes to your website caching can be a great option to speed up your page load times of your Drupal 7 website. Caching System is in core of Drupal and to use default caching you don't need to download any extra modules.

Drupal offers basic performance tuning at:
Administration > Configuration > Performance > Development > Performance (admin/config/development/performance)

  1. Go to Configuration >> Performance
  2. Under Caching select "Cache pages for anonymous users"
  3. Under Cache Blocks select the check box

2) Optimize databases - DB Level Optimization

The easiest way to do this is to install the Database Maintenance (DBM) module ( DB maintenance optimizes administrator-selected tables in the database during regular cron.php executions. For MyISAM tables, OPTIMIZE TABLE repairs a table if it has deleted or split rows, sorts table indexes, and updates table statistics. For BDB and InnoDB, OPTIMIZE rebuilds the table. Note, MySQL locks tables during the time OPTIMIZE TABLE is running.

  1. From db maintaince module configuration page => Select how often to optimize the tables (this runs a cron job)
  2. Select the tables you want to optimize
  3. Click “Optimize now” to Optimize the selected tables now or "Save Configuration" to run optimize on the schedule you chose

3) Disable Unwanted Modules - Overlay, Toolbar, Dblog - If not needed

From module configuration page, disable all the modules that you don't need. Uninstalling them can help too, but beware, this also removes the tables this module uses, so there's no way to recover database data that you have made earlier using this module.

4) Opcode Caching (PHP - high CPU)

PHP out of the box is a dynamic language and can lead to heavy CPU usage on web servers. There are multiple types of opcode caching add-ons for PHP available that will convert your .php page into memory (byte code) to provide a major benefit in load time and reduced CPU usage. Each of these will require root access to install and have their own specific configurations that will need some attending before using. Once configured and enabled they can provide a substantial benefit to a slow site and greatly reduce CPU usage from PHP.

4) Performance Modules

If better optimization is required, you might install one or two performance modules. For example, if the site is on a shared server, try Boost (static page caching for non-logged in visitors), complemented with Authcache -in CR's file or db mode- or Advanced Cache (for logged in members). If on a VPS or dedicated server, there are several suitable options:Boost (for example on a low RAM VPS), AuthcacheCache Router (which includes ,Memcache...), Varnish, etc. Memcache (or Memcache Storage) and Varnish are also especially suitable when load-balancing multiple servers.

You can read more on about performance Optimizing :

Don't Know What is Best Solution for you.? We are here to help you.! Contact Us