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.
Related Articles RSS Feed
How to change base URLs in Magento 2
Added on Wed, Jun 13, 2018
How to create dev sites in Nexcess Cloud
Added on Thu, May 3, 2018
How to flush your Magento cache
Added on Tue, Jan 29, 2019
How to add admins in Magento 2
Added on Tue, Dec 11, 2018
How to set up Magento 2 to use your SSL certificate
Added on Fri, Dec 28, 2018
How to write redirect (301) rules for Magento 2
Added on Mon, Dec 31, 2018
How to configure Magento 2 cron jobs
Added on Tue, Mar 27, 2018
How to reset Magento 2 admin passwords
Added on Fri, Dec 28, 2018
How to generate and view SSH/FTP passwords for your Nexcess Cloud Account
Added on Fri, Apr 6, 2018
How to delete MySQL databases in Nexcess Cloud
Added on Thu, Dec 20, 2018