Details
-
Improvement
-
Resolution: Done
-
High
-
1.13.0
Description
Currently, the Varnish cache is not purged when editing related content because of missing relation-<content-id> tag. Relevant documentation: https://github.com/ezsystems/ezplatform-http-cache/blob/97689d1f5182bc80aea55dc9fcd771ddd8cc53df/docs/using_tags.md#tags-in-use-in-this-bundle.
Steps to reproduce:
- Set up eZ Platform installation with Varnish using xkey VCL.
- In Media/Images, create a new Image Content Object named "Test Image".
- Under "Home", create a new Article Content Object named "Test Article". In the "Image" Field for this Content Object, select "".
- Access your_site.example/Test-Article. It should correctly display the Article. There should be a link leading to "your_site.example/Media/Images/Test-Image" with the text "Test Image".
- Now, rename "Test Image" to "Test Image Edited" using Platform UI.
- Access your_site.example/Test-Article again. There will be a link leading to "your_site.example/Media/Images/Test-Image" with the text "Test Image". Instead, there should be a link leading to "your_site.example/Media/Images/Test-Image-Edited" with the text "Test Image Edited".
Attachments
Issue Links
- is cloned by
-
EZP-29078 Varnish cache should be purged for changes to items in Landing Page blocks
- Closed