I have a view on my page and I've cached it using Views caching. Is there a way to tell that the view is cached from the output or the headers? This question says that Drupal sets the header X-Drupal-Dynamic-Cache but I don't see that in my browser's inspector. I do see the header X-Generator:Drupal 7 (http://drupal.org) so that's nice.

It would be nice to see an HTML comment, like what the Boost module does.

  • What version of Drupal? 6, 7, or 8?
    – joshmiller
    Mar 14, 2016 at 15:11
  • 7. Sorry, I should have specified. Mind you, I wouldn't mind knowing the same thing for 8. Mar 14, 2016 at 21:31

1 Answer 1


The answer you linked to is wrong. X-Drupal-Dynamic-Cache only exists in Drupal 8. Beyond that, the answer itself is also wrong. Will comment there.

In Drupal 7, you can't tell that the view is cached based on output (HTML markup) or headers.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.