Drupal can also be recognized if one of the following headers exists in the server response:
- X-Generator HTTP header: This identifies a Drupal website.
- X-Drupal-Cache header: This header is used by Drupal's cache. If the header value is X-Drupal-Cache: MISS, this means that the pages are not served from the cached display, and if you see X-Drupal-Cache: HIT, this means that the pages are served from the cache.
- X-Drupal-Dynamic-Cache header: The dynamic cache is used by the site to load dynamic content (cached pages), with the exception of personalized parts.
- Expires: Sun, 19 Nov 1978.
The following screenshot shows these headers in a server response:
The dynamic cache header X-Drupal-Dynamic-Cache was introduced in Drupal version 8+ and is not available for Drupal version 7 or earlier.