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.
To begin, we will enable and configure Drupal's caching capabilities. We will then enable and configure the optimization options for the theme's CSS and JavaScript files.
1. Select Configure from the admin menu, then select Performance.
2. In the CACHING section check the option Cache pages for anonymous users.
3. Check the option Cache...