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

Integrate REST resource embedding with HTTP cache multi-tagging

    Details

    • Type: Story Story
    • Status: Backlog
    • Priority: High High
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Platform > REST API v2
    • Labels:
      None

      Description

      Multi-tagging of HTTP cache (EZP-25696) makes resource embedding with working cache possible.

      Any REST response that embeds resources will need to add the appropriate cache headers so that it gets purged along with the referenced (embedded) objects: a Content response with its Section embedded must be cleared when the given section is edited.

      Since references are loaded using their own controller, any change should transparently work with the main object's resource, but it needs to be tested.

      In addition to cache tags, the response's Vary header must contain the X-eZ-Embed-Value that was used to customize the response.

        Issue Links

          Activity

          Show
          Bertrand Dunogier added a comment - PR https://github.com/ezsystems/ezpublish-kernel/pull/1789 .

            People

            • Assignee:
              Bertrand Dunogier
              Reporter:
              Bertrand Dunogier
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: