How to tell if a view is cached from generated HTML output?
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.