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

Integrate REST resource embedding with HTTP cache multi-tagging

    XMLWordPrintable

Details

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: High High
    • None
    • None
    • Platform > REST API v2
    • 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.

      Attachments

        Activity

          People

            bertrand.dunogier@ibexa.co Bertrand Dunogier
            bertrand.dunogier@ibexa.co Bertrand Dunogier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: