书籍 - Drupal 6 Performance Tips

基本信息

  • 书名: Drupal 6 Performance Tips
  • 作者: Trevor James,T J Holowaychuk
  • 出版社: Packt Publishing
  • 出版日期: 2010年2月
收藏与分享
(1 vote)

简介

新书报道 - Drupal 6 Performance Tips

目录

  • 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

目录

Learn how to maximize and optimize your Drupal framework using Drupal 6 best practice performance solutions and tools

  • 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

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.

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

Approach

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 written 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.