Topic
Last updated February 24, 2020

When it comes to making your Drupal site faster there are two main areas of focus: performance and scalability.

Performance is how fast a single page can be served. This is affected by things like how long it takes your code to execute, the speed of the required database queries, settings in your web server, and other bottlenecks in the process of servicing a single request. Your best bet for improving this is ensuring proper configuration of modules. Then use a profiler to locate bottlenecks in your code. Either optimize them, cache the result to eliminate repeat processing, or both. Performance applies to the front-end of your site as well: the HTML, CSS and JavaScript impacts the performance of the user's browser.

Scalability refers to how many concurrent pages your site can serve without adversely affecting performance. This is affected by limitations like how many requests the server can handle before it slows down, and considerations in Drupal's code that allow for mitigating these limitations. It can be improved by making changes to your infrastructure that increase its ability to handle more requests quickly.

Example tasks

  • Configure Drupal core and contributed modules for optimal performance
  • Test a site's performance and ability to handle multiple concurrent users
  • Make a Drupal site faster by using various caching systems like Varnish, Redis, and a CDN

Confidence

Our tutorials are up-to-date. There are other topics related to performance and scalability that we have not covered. See the external resources for additional guidance on this subject.

Drupalize.Me resources

More Guides

We have guides on many Drupal skills and topics.

Explore guides

External resources