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

Response TTL should not depend on X-User-Hash

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Medium 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

        Activity

        Peter Keung created issue -
        Hide
        Peter Keung added a comment -
        Show
        Peter Keung added a comment - Pull request: https://github.com/ezsystems/ezpublish-kernel/pull/809
        Show
        Jérôme Vieilledent (Inactive) added a comment - Fixed in master: https://github.com/ezsystems/ezpublish-kernel/commit/1d3099bb232ab2b3f8a4dc5430bd5096ff5b5b34
        Jérôme Vieilledent (Inactive) made changes -
        Field Original Value New Value
        Status Open [ 1 ] Closed [ 6 ]
        Fix Version/s 5.3 [ 11282 ]
        Resolution Fixed [ 1 ]
        André Rømcke made changes -
        Workflow eZ Engineering Scrumban Workflow [ 62836 ] EZ* Development Workflow [ 84961 ]
        Alex Schuster made changes -
        Workflow EZ* Development Workflow [ 84961 ] EZEE Development Workflow [ 123682 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Closed Closed
        6h 14m 1 jerome.vieilledent@ez.no 19/Apr/14 9:27 AM

          People

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

            Dates

            • Created:
              Updated:
              Resolved: