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

Authenticated User Page Caching (Authcache)


Let's take a look at another contributed module for caching. This module will allow us to configure caching for our authenticated users. It is frequently referred to as the Authcache module and the project page is here: http://drupal.org/project/authcache. The module will cache for both anonymous and authenticated users, and it will increase your page load and Drupal site performance because the page loads will be optimized to about 1-2 milliseconds (according to the module project description). To use this module for anonymous page caching is relatively straightforward. Setting it up for authenticated users will take more detailed and complex crafting.

Authcache will save static HTML versions of Drupal pages and you can configure it to work for specific authenticated user roles in Drupal. The module depends on JavaScript and AJAX to function, and if an anonymous user has JavaScript disabled, they will not see cached versions of the pages. The...