Managing site performance and scalability

Drupal 7 will no longer be supported after January 5, 2025. Learn more and find resources for Drupal 7 sites

Drupal is a complex application. A well configured Drupal site can be highly performant and scale to many millions of visitors per day. Conversely, a poorly optimised site can be frustratingly slow for its users.

This series of articles will demonstrate how Drupal can be configured for optimal performance.

Planning for Performance

You should establish performance goals to ensure you spend effort wisely.

Caching to improve performance

Caching to improve performance

Changing PHP memory limits

There are several techniques to increase the PHP memory limit. Use the right one for your system configuration.

Content Delivery Network [CDN]

A CDN offloads much of your site delivery to a network of dedicated edge caches.

Design for Low Bandwidth

Drupal offers a variety of tools and features to reduce bandwidth requirements, including:

Increase upload size in your php.ini

note: increasing PHP upload size is different from increasing PHP memory limit. You can learn to increase memory limit here.

Optimizing Drupal to load faster (Server, MySQL, caching, theming, HTML)

Basic settings

Optimizing MySQL

Details of how to optimize MySQL for use with Drupal.

Randomizing MySQL Users For Exceeded max_questions Error

Sometimes malicious HTTP GET requests can take down your site, by bootstrapping Drupal so frequently that you can exceed a MySQL max_user

Server tuning considerations

The performance of your Drupal site is dependent on three main factors: the goals of your site, the resource demands of your site traffic,

Tuning php.ini for Drupal

Guide maintainers

Cameron Tod's picture