Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EZP-30560: Unable to clear Varnish cache on Platform.sh #119

Merged
merged 5 commits into from Feb 20, 2020

Conversation

SerheyDolgushev
Copy link
Contributor

Question Answer
JIRA issue EZP-30560
Type Bug
Target version 0.9
BC breaks no
Doc needed no

Let's say there is eZ Platform site on Platform.sh. Own domain is used to access the admin. So site has following domains:

Front-end (https://project.com) is served by Varnish, but admin is not:

// .platform/routes.yaml
https://project.com:
    type: upstream
    upstream: varnish:http
https://admin.project.com:
    type: upstream
    upstream: app:http

When you edit/publish some content in admin UI (https://admin.project.com), it is expected that its Varnish cache will be cleared. But actually, the Varnish cache is not cleared.

TODO:

  • Implement feature / fix a bug.
  • Implement tests + specs and passing ($ composer test)
  • Fix new code according to Coding Standards ($ composer fix-cs).
  • Ask for Code Review.

@mnocon mnocon self-assigned this Feb 20, 2020
Copy link
Member

@mnocon mnocon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reproduced and tested on Platform.sh, looks good to me now - approved!

@lserwatka lserwatka merged commit 6a21fba into ezsystems:0.9 Feb 20, 2020
@lserwatka
Copy link
Member

@adamwojs could you merge it up?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
5 participants