Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
How can you help your Drupal website continue to perform at the highest level as it grows to meet demand? This comprehensive guide provides best practices, examples, and in-depth explanations for solving several performance and scalability issues. You’ll learn how to apply coding and infrastructure techniques to Drupal internals, application performance, databases, web servers, and performance analysis.
Covering Drupal versions 7 and 8, this book is the ideal reference for everything from site deployment to implementing specific technologies such as Varnish, memcache, or Solr. If you have a basic understanding of Drupal and the Linux-Apache-MySQL-PHP (LAMP) stack, you’re ready to get started.
Establish a performance baseline and define goals for improvement
Optimize your website’s code and front-end performance
Get best and worst practices for customizing Drupal core functionality
Apply infrastructure design techniques to launch or expand a site
Use tools to configure, monitor, and optimize MySQL performance
Employ alternative storage and backend search options as your site grows
Tune your web servers through httpd and PHP configuration
Monitor services and perform load tests to catch problems before they become critical
By default, boost stores its cache in the "cache" directory located at the root of the website.
A frequent request is to store the cache on a per-site directory under other files generated by the site, in sites/example.org/files/cache/, for example. However, this is likely to cause issues with how the Drupal htaccess rules for multi-site work.
Note that the default way boost stores the cache does support multi-sites. You should not need to change this setting unless you have specific requirements.
Boost is a contributed module that provides static page caching for Drupal websites. It can help you realize a significant performance increase for personal blogs, small business, corporate sites, portals and directories that receive mostly anonymous traffic. For shared hosting this is your best option in terms of improving performance and enhancing your website visitor's experience.
This information enhances the documentation for the Drupal Memcache module. The Drupal configuration on this page is for Drupal 6, while the other information below is Drupal version agnostic. For Drupal 7 sites on Ubuntu 12.04 you may want to see this post.