ACQUIA-CERTIFIED-SITE-BUILDER-D10 practice question 17 of 25

Which of the following statements about Drupal’s caching system is correct?

Full set: 120 questions
Answer options
A: Page caching helps reduce server load by serving pre-rendered pages. Correct answer
B: Drupal does not support caching unless a third-party module is installed.
C: Block caching is not possible in Drupal.
D: Cache clearing is automatic and cannot be manually triggered.
Correct Answer:
A. Page caching helps reduce server load by serving pre-rendered pages.
Explanation

Drupal's caching system is designed to improve performance and reduce server load. The Internal Page Cache module, part of Drupal core, specifically serves pre-rendered, static HTML versions of pages to anonymous users. By doing this, it bypasses the need to re-execute the PHP code and database queries required to build the page for each visit. This results in significantly faster page load times for anonymous traffic and a lower overall load on the server's resources.

Why Incorrect

B. Drupal core includes several caching layers out-of-the-box, such as the Internal Page Cache and Dynamic Page Cache modules, without requiring third-party additions.
C. Block caching is a core feature of Drupal's Render API. Individual blocks can be configured with specific cache settings (contexts, tags, max-age).
D. Caches can be cleared manually at any time by an administrator through the user interface (/admin/config/development/performance) or via command-line tools like Drush.

References

1. Drupal.org. (2023). Caching in Drupal. Drupal 10 Documentation. Retrieved from https://www.drupal.org/docs/system-requirements/performance/caching. (See "Page Caching" section).

2. Drupal.org. (2023). Core modules: Internal Page Cache. Drupal 10 Documentation. Retrieved from https://www.drupal.org/docs/core-modules-and-themes/core-modules/internal-page-cache-module. (See the first paragraph).

3. Drupal.org. (2023). User guide: Clearing the Cache. Drupal 10 Documentation. Retrieved from https://www.drupal.org/docs/userguide/en/prevent-cache-clear.html. (See "Goal" and "Steps" sections).

Scroll to Top