Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-22667

Response TTL should not depend on X-User-Hash

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 5.2
    • Fix Version/s: 5.3
    • Component/s: Caching
    • Labels:
      None
    • Environment:

      n/a

      Description

      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

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            peterkeung Peter Keung
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: