---
title: "Drupal 7 page cache does not respect the Vary header"
date: "2025-02-05T23:55:44+00:00"
summary:
image:
type: "article"
url: "/acquia-cloud-platform/help/93401-drupal-7-page-cache-does-not-respect-vary-header"
id: "a88d0205-4a61-47d5-a693-d3ac6d1292ab"
---

Table of contents will be added

Issue
-----

Drupal 7 Page Cache does not currently support variations in cache using the Vary header.

Affected Applications/Limitations
---------------------------------

Any Drupal 7 application with page cache enabled attempting to use the Vary header for variations in cache.

Resolution
----------

As a current workaround you can disable page cache by adding the following snippet in `settings.php`:

    $conf['cache_class_cache_page'] = 'DrupalFakeCache';