How to enable Varnish for Magento 2 on Nexcess Cloud

How to enable Varnish for Magento 2 on Nexcess Cloud

Overview

Varnish for Magento 2 is currently a Nexcess beta feature, and may not be suitable for production environments. Please see Nexcess Product Life Cycle for more details about our beta policy.

What you need

  • Your Client Portal login credentials. If you cannot locate them, click Forgot Password? on the login page.

  • An existing Nexcess Cloud Magento 2 account. See How to create Nexcess Cloud accounts for more information.

  • Login credentials and admin access to your Magento 2 store.

  • An invite to use Varnish, which is currently a beta feature and generally not suitable for production environments. Please contact our 24/7 Support team by email or through your Client Portal for details.

Step 1: Prepare your Magento 2 store

  1. Verify your Magento 2 store is in production mode. To display the current mode from the command line, issue:

    php bin/magento deploy:mode:show

    See the Magento 2 documentation for information about changing modes.

  1. Log in to your Magento 2 admin panel. To do this from your Client Portal , select Menu > Environment, then click App Admin.

  2. Select Stores < Configuration.

  3. Scroll down and select Advanced > System.


  4. Select Full Page Cache. Under Caching Application, clear the Use system value check box, then select Varnish Cache (Recommended). Click Save Config when ready.  

Step 2: Enable Varnish in your Client Portal

  1. Log in to your Client Portal. From the home page, click Services > Cloud Accounts.

  2. From the home page, click your desired Magento cloud service.

  1. On the landing page for you service (Performance), in the Cloud Accelerator section, toggle Varnish Caching to ON.


For 24-hour assistance any day of the year, contact our support team by email or through the Client Portal.

Article Rating (No Votes)
Rate this article
  • Icon PDFExport to PDF
  • Icon MS-WordExport to MS Word
 
Attachments Attachments
There are no attachments for this article.