Check your version

This tutorial covers a topic in Drupal 7 which may or may not be the version you're using. We're keeping this tutorial online as a courtesy to users of Drupal 7, but we consider it archived.

Last updated June 7, 2017

Configure basic settings which affect performance, and perform basic analysis to understand what might be affecting website performance.

Objectives and Prerequisites

You will need the following knowledge and skills. If you need a review, check out the Resources section at the bottom of this page.

  1. Understand the areas of Drupal that can be configured for performance.
  2. Analyze the performance of a page request.
  3. Understand the software stack that can help address performance issues.

Tasks

Configure system settings to improve performance within the admin system.

Display active queries using the Devel module to identify any slow queries.

Use the YSlow plugin in Chrome to analyze the performance of your website.

Summary

  • A wide range of factors can affect performance.
  • System settings should be systematically checked to see ensure performance is optimal.
  • Additional layers of caching such as Varnish and Nginx are often used to serve content.
  • Delivery of CSS and JavaScript can affect page rendering time and should also be analyzed.

Resources

Creative Commons License

Drupal Training Resources by Damian Robinson are licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. Based on a work at http://www.damianrobinson.co.uk.