Details
-
Bug
-
Resolution: Fixed
-
Blocker
-
1.12.1, 1.13.0, 2.0.0
-
Debian 9 + PHP 7.0
Description
Hi,
In the xkey vmod documentation, keys in the pages headers must be separated by spaces and not comma.
https://github.com/varnish/varnish-modules/blob/master/docs/vmod_xkey.rst
"Alternatively you may instead use a single header with space separated values like xkey: 8155054 166412 234323."
So when varnish associate the keys to the pages, instead of "content-249" we have "content-249,"
eZPlatform is not able to purge the keys when a content is modified in BO.
You must change the EzSystems\PlatformHttpCacheBundle\Handler\TagHandler class :
public function addTagHeaders(Response $response, array $tags) { $tagsList = $response->headers->get($this->tagsHeader); $tagsList .= ' ' . implode(" ", $tags); $response->headers->set($this->tagsHeader, $tagsList, true); }
Regards,
Dominique
Attachments
Issue Links
- relates to
-
EZP-28855 ezplatform-http-cache does not support clearing all cache
- Closed