Community Documentation

Drupal caching, speed and performance

Last updated December 5, 2010. Created by juan_g on October 27, 2008.
Edited by C_Logemann, joelstein. Log in to edit this page.

Basic configuration

For an initial, quick performance tuning, see on your site:

Administer > Site configuration > Performance

with options for page cache, CSS optimization, and -in core since Drupal 6.x- block cache and JavaScript optimization. That standard optimization and database caching can be enough for many sites.

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), Authcache, Cache Router (which includes APC, Memcache...), Varnish, etc. Memcache and Varnish are also especially suitable when load-balancing multiple servers.

For extensive and detailed information, and more options on server optimization for Drupal, see the following selection of resources.

Drupal performance resources

Information and tutorials on optimizing Drupal's performance, speed, and scalability.

General Drupal performance

At drupal.org:

Other resources:

Videos, screencasts and slideshows

At drupal.org:

Other resources:

Case studies

At drupal.org:

Other resources:

Monitoring and troubleshooting

At drupal.org:

Other resources: