-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
EZP-30358: HTTP Cache purge when ContentService\{Hide,Reveal}ContentSignal is emitted #81
Conversation
composer.json
Outdated
@@ -10,7 +10,7 @@ | |||
} | |||
], | |||
"require": { | |||
"ezsystems/ezpublish-kernel": "^6.13.4@dev || ^7.3@dev", | |||
"ezsystems/ezpublish-kernel": "^6.13.4@dev || ^7.5@dev", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will it work for 2.4 branch? Ezplatform 2.4 uses both:
"ezsystems/ezpublish-kernel": "~7.4.0@dev",
"ezsystems/ezplatform-http-cache": "~0.9.0@dev",
(https://github.com/ezsystems/ezplatform/blob/2.4/composer.json#L36)
which will clash with this requirement if I'm not mistaken
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch Marek. This code can not crash 2.4 version. Is this doable?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Afaik it won't crash, if it does we also have same issue on 1.13.
So we can change to ^7.4@dev
, right @adamwojs ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, it should work fine without composer.json
modification (signal is not emitted => slot will not be executed). We will check this during QA.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, it's only solr having issues with this due to the use of abstract search slots, which is in retrospective not a good idea.
…ontentSignal is emited
…ontentSignal is emited
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We checked with Marek that this resolves the issue on Varnish and filesystem cache. 👍
@micszo Great news, can we merge it? |
@adamwojs did you want to fix CI before? |
Travis failure is basically same 2.4 and 1.13 will experience so indeed we need to get that green :) |
…ontentSignal is emited
Well done! |
Description
Implementation of HTTP cache purge when
ContentService\HideContentSignal
/ContentService\RevealContentSignal
is emitted.