Skip to content

EZP-30358: HTTP Cache purge when ContentService\{Hide,Reveal}ContentSignal is emitted#81

Merged
lserwatka merged 4 commits intoezsystems:masterfrom
adamwojs:ezp_30358
Mar 29, 2019
Merged

EZP-30358: HTTP Cache purge when ContentService\{Hide,Reveal}ContentSignal is emitted#81
lserwatka merged 4 commits intoezsystems:masterfrom
adamwojs:ezp_30358

Conversation

@adamwojs
Copy link
Copy Markdown
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
],
"require": {
"ezsystems/ezpublish-kernel": "^6.13.4@dev || ^7.3@dev",
"ezsystems/ezpublish-kernel": "^6.13.4@dev || ^7.5@dev",
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Member

@micszo Great news, can we merge it?

@micszo
Copy link
Copy Markdown
Member

micszo commented Mar 29, 2019

@adamwojs did you want to fix CI before?

@andrerom
Copy link
Copy Markdown
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
Copy Markdown
Member

Well done!

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

Development

Successfully merging this pull request may close these issues.

8 participants