Skip to content
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

Merged
merged 4 commits into from
Mar 29, 2019

Conversation

adamwojs
Copy link
Member

JIRA: https://jira.ez.no/browse/EZP-30358

Description

Implementation of HTTP cache purge when ContentService\HideContentSignal/ContentService\RevealContentSignal is emitted.

@adamwojs adamwojs changed the title EZP-30358: HTTP Cache purge when ContentService\{Hide,Reveal}ContentSignal is emited EZP-30358: HTTP Cache purge when ContentService\{Hide,Reveal}ContentSignal is emitted Mar 28, 2019
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",
Copy link
Member

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

Copy link
Member

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?

Copy link
Contributor

@andrerom andrerom Mar 29, 2019

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 ?

Copy link
Member Author

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.

Copy link
Contributor

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.

Copy link
Member

@micszo micszo left a 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. 👍

@lserwatka
Copy link
Member

@micszo Great news, can we merge it?

@micszo
Copy link
Member

micszo commented Mar 29, 2019

@adamwojs did you want to fix CI before?

@andrerom
Copy link
Contributor

Travis failure is basically same 2.4 and 1.13 will experience so indeed we need to get that green :)

@lserwatka lserwatka merged commit ffbacd5 into ezsystems:master Mar 29, 2019
@lserwatka
Copy link
Member

Well done!

@adamwojs adamwojs deleted the ezp_30358 branch March 29, 2019 11:24
# for free to join this conversation on GitHub. Already have an account? # to comment
Development

Successfully merging this pull request may close these issues.

8 participants