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

Hardcoded anonymous_hash in FosHttpCache mismatches what is generated by Platform



      FosHttpCache uses a default, hardcoded user hash for anonymous users to save on performances.

      PR FosHttpCacheBundle#274 added a consistency check on the hash that re-generates the hash using the session in order to prevent inconsistencies with expired / cleared up sessions.

      The hash that gets generated for Platform's anonymous user does not match the hardcoded one. Since it depends on how the anonymous role is configured, it may change on any instance.

      This causes anonymous requests to invalidate cached versions of pages, since the consistency check disables caches / varying.

        Issue Links


          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Confirmed Confirmed
          26s 1 Bertrand Dunogier 03/Mar/16 12:31 PM
          Confirmed Confirmed Backlog Backlog
          4h 34m 1 Bertrand Dunogier 03/Mar/16 5:05 PM
          Backlog Backlog Development Development
          4s 1 Bertrand Dunogier 03/Mar/16 5:05 PM
          Development Development Development Review Development Review
          4h 2m 1 Bertrand Dunogier 03/Mar/16 9:08 PM
          Development Review Development Review Documentation Review done Documentation Review done
          188d 20h 37m 1 André Rømcke 08/Sep/16 6:45 PM
          Documentation Review done Documentation Review done QA QA
          14h 2m 1 rui.silva@ez.no 09/Sep/16 8:48 AM
          QA QA Closed Closed
          6d 2h 34m 1 rui.silva@ez.no 15/Sep/16 11:23 AM


            • Assignee:
              Bertrand Dunogier
            • Votes:
              0 Vote for this issue
              9 Start watching this issue


              • Created: