Book Image

Drupal 6 Performance Tips

By : T J Holowaychuk, Trevor James
Book Image

Drupal 6 Performance Tips

By: T J Holowaychuk, Trevor James

Overview of this book

<p>Drupal is one of the most respected and widely used open source content management frameworks.&nbsp; Small, medium, and large-scale websites are built using Drupal and the framework supports ecommerce, CRM, multisite and web service integrations.&nbsp; <br /><br />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.&nbsp; This book will focus on implementing performance modules and solutions to help speed up your Drupal website.<br /><br />We will look at introductory topics such as upgrading your Drupal site, maintaining your site, and enabling core Drupal page compression and caching. <br />&nbsp;<br />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.<br /><br />Finally, we&rsquo;ll look at how best to implement a Drupal multisite environment and run it with high-speed performance in mind.<br /><br />This book is designed for Drupal developers and webmasters who want to increase their Drupal site&rsquo;s speed and performance.&nbsp; 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.</p>
Table of Contents (14 chapters)
Drupal 6 Performance Tips
Credits
About the Authors
About the Reviewers
Preface

Advanced Boost settings


Let's do a quick review of our Boost configuration upto this point. We have set up Boost to cache our Drupal nodes. This stores our Drupal nodes as static HTML web pages. When an anonymous user visits our site, they are delivered the static HTML version of the web page, and this helps considerably with speed and optimization of our page loads. We have set our minimum cache lifetimes for HTML, XML, and JSON content to be 1 hour. We also have the option of clearing all of our Boost-cached data and expired data manually by clicking on the respective buttons on the Boost settings page in the Boost File Cache pane.

We configured Boost to cache pages that contain URL variables even though we're using clean URLs on our site. We are caching all HTML documents or Drupal pages, all XML and feed content, all AJAX and JSON content, and CSS and JavaScript files. We also determined that we can tell Boost to only cache specific pages or use PHP code to run conditional statements...