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-32254: [platform.sh] http cache purge type disabled during deploy #28

Merged
merged 2 commits into from
Dec 29, 2020

Conversation

damianz5
Copy link
Contributor

EZP-32254: [platform.sh] http cache purge type disabled during deploy

Question Answer
JIRA issue EZP-32254
Bug/Improvement yes
New feature no
Target version master
BC breaks no
Tests pass yes
Doc needed no

[Platform.sh] HTTPCACHE purge type should be disabled during deploy

EZP-32254: [platform.sh] http cache purge type disabled during deploy
@@ -318,7 +318,7 @@ private function configurePlatformShSetup(ContainerBuilder $container): void
}
}

if ($route !== null) {
if ($route !== null && !($_SERVER['PLATFORMSH_DISABLE_HTTPCACHE_PURGE'] ?? false)) {
Copy link
Member

Choose a reason for hiding this comment

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

PLATFORMSH_SKIP_HTTPCACHE_PURGE

@lserwatka lserwatka merged commit e18fa74 into master Dec 29, 2020
@lserwatka lserwatka deleted the psh-http-cache-purge-type-disabled-during-deploy branch December 29, 2020 11:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants