ezsystems/ezpublish-kernel — pull request #809 by peterkeung (2014-04-19 01:14:59+00:00)
Title: Fix for EZP-22667: Response TTL should not depend on X-User-Hash

In the default view controller, setting the max age Cache-Control HTTP header is dependent on the request setting X-User-Hash. While context-aware cache and max age are related, they should be separate issues.
Some concrete reasons for treating them separately:

* In some cases the management of TTL is deferred to a separate team who is in charge of Apache or Varnish, not eZ Publish.
* For dev / debug purposes you want to see the TTL being used
* You should be able to set TTL regardless of whether your reverse proxy is setting a default X-User-Hash