Changes between Initial Version and Version 1 of faq/drupal/boost


Ignore:
Timestamp:
May 15, 2008, 9:53:01 PM (17 years ago)
Author:
Jamie McClelland
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • faq/drupal/boost

    v1 v1  
     1= How do I install the Drupal Boost module to improve performance? =
     2
     3If you are running a Drupal site and you have a lot anonymous visitors, you may want to consider the Boost module to improve performance. Thanks ekes for the info:
     4
     5The [DrupalModule:boost] module gets apache to serve static html, instead of the cached content from the mysql database that drupal usually uses. As with the Drupal cache this is only for anonymous users.
     6
     7It's easy to install. [DrupalModule:boost Download the latest version] and follow the INSTALL.txt carefully.
     8
     9You will have to create the directory to put the cached files in. The recommended directory to use is: <sites top level dir>/cache. When you create it as your Mayfirst user it automatically becomes writable by your instance of apache.
     10
     11You will also have to replace the .htaccess file (once you are sure cached HTML is being created - it tells you what to do in the INSTALL.txt). In the case of Mayfirst you will have to remove the symlink to the shared Drupal install first. Then copy the one from the boost module. In sites top level directory:
     12
     13{{{
     14rm .htaccess
     15cp sites/default/modules/boost/htaccess/boosted.txt .htaccess
     16}}}
     17
     18In the past the only gotcha I've encountered using the module is that it caches the captchas! So anonymous users were answering old cached captchas. You can exclude paths from caching at !http://example.com/admin/settings/performance/boost.
     19
     20Because of the wonders of static content, and just because you can, I set up an rsync'ed of a site running boost a while back and [http://www.iskra-it.com/blog/ekes/2008/01/10/boost-module-and-rsynced-apache-mirrors documented it].
     21
     22There's also a [ticket:961 discussion of installing boost for a member].