Cover by Dylan James

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

O'Reilly logo

Configuring theme compression and caching

Webservers can quickly become overloaded by multiple users requesting pages that require multiple queries. Furthermore, pages that consist of lots of CSS and JavaScript files can reduce the page load time. Both of these issues can be frustrating to the end-user.

In this recipe, we will see how to enable and configure Drupal's caching, which can dramatically reduce the server response time. We will also learn how to activate aggregation of the theme's CSS files, a process that can greatly reduce the number of requests to the server per page load, and vastly improve the page load time for the end-user.

How to do it...

To begin, we will enable and configure Drupal's caching capabilities. We will then enable ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required