From af4225699b58c8a54ac4c83828b9440f4249f61d Mon Sep 17 00:00:00 2001 From: Karel Louwagie Date: Mon, 15 Jul 2024 14:06:43 +0200 Subject: [PATCH] Updates for newer magento2 varnish versions --- .../how-to-configure-varnish-for-magento-2-x.md | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/docs/ecommerce-applications/magento-2/how-to-configure-varnish-for-magento-2-x.md b/docs/ecommerce-applications/magento-2/how-to-configure-varnish-for-magento-2-x.md index 46b63ea9..e58c41fe 100644 --- a/docs/ecommerce-applications/magento-2/how-to-configure-varnish-for-magento-2-x.md +++ b/docs/ecommerce-applications/magento-2/how-to-configure-varnish-for-magento-2-x.md @@ -16,20 +16,14 @@ Customers with Hypernode Pelican, Falcon (formerly known as Professional) and Ea Although Varnish is extremely awesome when it get's to speeding up websites, Varnish is a complex technique that needs some experience to set it up. Don't implement varnish on production nodes without testing Varnish first on a [development node](../../hypernode-platform/tools/how-to-use-hypernode-development-plans.md) or the [Hypernode Docker](../../best-practices/testing/hypernode-docker.md). -## Enable Varnish 4.0 or 6.0 for Magento 2.x +## Enable Varnish for Magento 2.x -As Magento 2 supports Varnish out of the box, there is no need for the turpentine extension anymore in Magento 2. Simply follow the steps below to configure Varnish 4.0 or 6.0 for Magento 2. +As Magento 2 supports Varnish out of the box, there is no need for the turpentine extension anymore in Magento 2. Simply follow the steps below to configure Varnish 4.0, 6.0 or 7.x for Magento 2. -**First configure the Varnish version (4.0 or 6.0) via the [hypernode-systemctl tool](../../hypernode-platform/tools/how-to-use-the-hypernode-systemctl-cli-tool.md)** +**First configure the Varnish version (4.0, 6.0 or 7.x) via the [hypernode-systemctl tool](../../hypernode-platform/tools/how-to-use-the-hypernode-systemctl-cli-tool.md)** ```console -$ hypernode-systemctl settings varnish_version 4.0 -``` - -**Or if you want to switch to Varnish 6.0** - -```console -$ hypernode-systemctl settings varnish_version 6.0 +$ hypernode-systemctl settings varnish_version 7.x ``` **Enable Varnish via the [hypernode-systemctl tool](../../hypernode-platform/tools/how-to-use-the-hypernode-systemctl-cli-tool.md)**