Drupal 6 Performance Tips

Drupal 6 Performance Tips
eBook: $23.99
Formats: PDF, PacktLib, ePub and Mobi formats
save 15%!
Print + free eBook + free PacktLib access to the book: $63.98    Print cover: $39.99
save 37%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Table of Contents
Sample Chapters


  • Monitor the performance of your Drupal website and improve it
  • Configure a Drupal multisite environment for best performance
  • Lot of examples with clear explanations
  • Choose and use the best Drupal modules for improving your site's performance

Book Details

Language : English
Paperback : 240 pages [ 235mm x 191mm ]
Release Date : February 2010
ISBN : 1847195849
ISBN 13 : 9781847195845
Author(s) : T J Holowaychuk, Trevor James
Topics and Technologies : All Books, CMS and eCommerce, Content Management (CMS), Drupal, Open Source

Table of Contents

Chapter 1: Upgrading Drupal
Chapter 2: Maintaining your Drupal Site
Chapter 3: Using Development Modules and Tools
Chapter 4: Performance Optimization
Chapter 5: Using DB Maintenance and Boost
Chapter 6: Advanced Boost
Chapter 7: Using Memcache API and Integration
Chapter 8: Advanced Caching and Contributed Modules for Caching
Chapter 9: Multisite Configuration and Performance
  • Chapter 1: Upgrading Drupal
    • Upgrading Drupal 5.x core
      • Backing up your site and database
      • Taking your site offline
      • Running Status report
    • Upgrading to 5.19
      • Installing the Update Status module
      • Installing contributed module updates
      • Uninstalling and removing Update Status
      • Running cron and checking recent log entries
      • Dealing with contributed modules during upgrades
    • Backing up and exporting your Drupal 5.x Views
      • Reviewing your Panels code
    • Final prep for upgrading to 6.13
      • Disabling all contributed modules
      • Enabling the Garland theme site-wide
    • Downloading Drupal 6.13
    • Upgrading Drupal core
      • Running update.php
      • Upgrading contributed modules
      • Updating your PHP memory limit
    • Installing the updated Zen theme files
      • Upgrading your custom theme
      • Cleaning up and resetting Views
      • Placing your site back online
    • Summary
  • Chapter 2: Maintaining your Drupal Site
    • Checking your Drupal configuration status
    • Checking your PHP and MySQL settings
    • Files to delete and clean up
    • Enabling the Update Status module
      • Disabling unused modules and themes
    • Introduction to Drupal caching
      • Enabling and configuring Drupal caching
      • Cache tables in your MySQL database
      • Clearing your performance cache
      • Clearing your theme registry
    • Running cron manually
      • Installing the Poormanscron module
      • Setting up cron through cPanel
    • Backing up your site using SFTP/FTP and cPanel
      • Backing up your database through phpMyAdmin
    • Tweaking your HTACCESS file
    • Summary
  • Chapter 3: Using Development Modules and Tools
    • Viewing and inspecting recent log entries
      • Viewing your recent log entries
      • Logging and alerts configuration
      • Page not found and access denied errors
    • The Devel module
      • Installing and enabling Devel
      • Checking Devel module permissions
      • Enabling Themer info
      • Devel settings
      • Inspecting database queries and Devel results
      • Enabling the Devel module block
      • Using the Devel module block
        • Database queries
        • Empty cache
        • Disable/Enable Theme developer
        • Execute PHP code
        • Function reference
        • Hook_elements()
        • PHPinfo()
        • Rebuild menus
        • Reinstall modules
        • Running cron
        • Session viewer
        • Theme registry
        • Variable editor
    • Summary
  • Chapter 4: Performance Optimization
    • Enabling and configuring the Throttle module
      • Configuring the Throttle module for auto throttling features
      • Throttling your modules
      • Throttling blocks
    • Generating test users, categories, and content
    • Views caching
      • Clearing your Views 2 module cache
    • Using Panels caching
      • Creating a panel and adding content to it
    • Summary
  • Chapter 5: Using DB Maintenance and Boost
    • Using the DB Maintenance module
    • Using the Boost module
      • Installing and configuring Boost
      • Boost settings
        • Boost File Cache settings
        • Boost cacheability settings
        • Boost directories and file extensions
        • HTACCESS file tweaks
      • Testing your Boost configuration
      • Boost and Poormanscron
      • Configuring Poormanscron
      • Clearing the Boost cache
      • Boost admin and stats blocks
        • Boost: Pages cache status block
        • Boost: Pages cache configuration block
      • Summary of Boost's basic configuration
    • Summary
  • Chapter 6: Advanced Boost
    • Updating contributed modules
    • Recommended modules that work with Boost
      • Global Redirect
      • Transliteration and Pathauto
    • Advanced Boost settings
      • Boost advanced settings
        • Testing your Database timestamp settings
        • Boost crawler settings
    • Summary
  • Chapter 7: Using Memcache API and Integration
    • Using the Memcache API and Integration module
      • MoWeS Portable development WAMP server
      • Installing Memcached libraries and service
      • Integrating and testing Memcached with PHP 5.2.x
      • Installing the Memcache API and Integration module
      • Enabling the Memcache Admin module
        • Memcache status
        • Memcache statistics per page
      • Viewing the Memcache tables in MySQL
      • Running Memcache without saving cache data to your database
    • Summary
  • Chapter 8: Advanced Caching and Contributed Modules for Caching
    • Cache Router
      • Cache Router versus Memcache API
    • Authenticated User Page Caching (Authcache)
      • Tweaking your settings.php file to support Authcache
      • Configuring the Authcache module
        • Page Caching Settings
      • Testing the Authcache module and its caching mechanism
        • Checking the AuthcacheFooter code
        • Checking the Authcache Debug window
    • Advanced cache
      • block_cache.patch
      • comment_cache.patch
      • forum_cache.patch
      • node_cache.patch
      • path_cache.patch
      • search_cache.patch
      • taxonomy_cache.patch
    • APC (Alternative PHP cache)
    • File Cache module
    • Summary
  • Chapter 9: Multisite Configuration and Performance
    • Using Drupal multisite
      • Configuring multisite in a localhost environment
        • Creating the multisite folders
        • Setting up databases for your multisite
        • Tweaking settings.php for each site
        • Editing your Apache configuration
        • Tweaking the hosts driver file on Windows
        • Tweaking the Base URL
        • Loading your multisites
      • Testing your multisite configuration
        • Using core and contributed modules in multisite
        • Installing modules and themes to a multisite
        • Setting themes per multisite
      • Caching and multisite
        • Enabling page caching and CSS/JS optimization per site
    • Multisite resources
    • Summary

T J Holowaychuk

TJ Holowaychuk, president of Vision Media is an avid contributor to the Drupal project as well as to other open-source applications. Contributing over 16 Drupal modules, several themes, and having fully designed, developed, and maintained hundreds of Drupal websites he has displayed a wealth of knowledge across different aspects of the industry.

Trevor James

Trevor James is a Drupal developer residing in Middletown, MD, USA. Trevor has been using Drupal intensively since 2007 and designing websites for over 15 years using a combination of HTML, CSS, ColdFusion, PHP, jQuery, and JavaScript.

Trevor's focus is on building Drupal-based web applications and portals for education, non-profit, and medical systems, and small business environments. He is interested in the best methods of integrating web services with Drupal sites, optimizing Drupal sites' performance, and using Drupal content types, Views, Panels, and other contributed modules to develop front-end interfaces that support data intensive websites.

He loves teaching people about Drupal and how to use this excellent open source content management framework. Trevor authored the following Packt books:

  • Drupal 7 Business Solutions (http://www.packtpub.com/drupal-7- business-solutions-to-build-powerful-web-site/book), published in early 2012
  • Drupal Web Services (http://www.packtpub.com/drupal-web-services/book), published in November 2010
  • Drupal 6 Performance Tips (https://www.packtpub.com/drupal-6-performance-tips-to-maximize-and-optimize-your-framework/book), published in February 2010

Trevor created a 14-hour video tutorial series titled Drupal 7 for Virtual Training Company (VTC) in 2011. The video is available via the VTC website at http://www.vtc.com/products/Drupal-7-Tutorials.htm.

Sorry, we don't have any reviews for this title yet.

Code Downloads

Download the code and support files for this book.

Submit Errata

Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.

Sample chapters

You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.

Frequently bought together

Drupal 6 Performance Tips +    Joomla! VirtueMart 1.1 Theme and Template Design =
50% Off
the second eBook
Price for both: £21.95

Buy both these recommended eBooks together and get 50% off the cheapest eBook.

What you will learn from this book


  • Upgrade your Drupal 5 site to Drupal 6 using best practice upgrade paths
  • Back up and maintain your Drupal 6 site using core and contributed modules and utilities
  • Configure the Drupal core and contributed modules for high traffic
  • Run core Drupal page compression, CSS and JS compression, and use Drupal page caching
  • Run scheduled cron tasks to perform crucial garbage-collection processes
  • Use the Development (Devel) module to monitor page loads and queries
  • Use the Boost module for anonymous page caching, tweak Boost settings, and use Boost blocks and advanced Boost settings to monitor site performance
  • Install and use Memcache API and Integration module, and Authcache and Advanced Cached modules to enhance and monitor site performance
  • Configure a Drupal multisite environment for best performance

In Detail

Drupal is one of the most respected and widely used open source content management frameworks.  Small, medium, and large-scale websites are built using Drupal and the framework supports ecommerce, CRM, multisite and web service integrations. 

Once you get your Drupal site installed and up and running, you will be concerned with site performance and how fast you can make your Drupal site run.  This book will focus on implementing performance modules and solutions to help speed up your Drupal website.

We will look at introductory topics such as upgrading your Drupal site, maintaining your site, and enabling core Drupal page compression and caching.
Then we will turn to an advanced look at some contributed modules that help speed up performance, including Development, Boost, Authcache, Advanced Cache, and the Memcache API and Integration module.

Finally, we’ll look at how best to implement a Drupal multisite environment and run it with high-speed performance in mind.

This book is designed for Drupal developers and webmasters who want to increase their Drupal site’s speed and performance.  You will take your Drupal site to the next level by not only displaying relevant and newsworthy content, but also running a powerful and high-speed website.

Vastly improve Drupal 6 performance through upgrades, caching, configuring and optimization using core and contributed modules. This title is a must-have for new Drupal users, developers, webmasters, system administrators, and even themers.


This is a practical and solution-based book designed to help you to quickly discover and learn about specific aspects of Drupal performance that you are interested in. In each chapter, Drupal-based modular performance tips and solutions are investigated and explained in detail.

Who this book is for

This book is written for Drupal beginners, developers, designers, and webmasters who utilize the Drupal content management system to create robust websites. It provides crucial performance-related information for users of all experience levels, including Drupal module contributors, webmasters who simply configure and maintain Drupal websites, and even Drupal themers.

This book expects basic knowledge of Drupal operation, configuration and server technologies, and applications including MySQL and PHP.

Code Download and Errata
Packt Anytime, Anywhere
Register Books
Print Upgrades
eBook Downloads
Video Support
Contact Us
Awards Voting Nominations Previous Winners
Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software