How to Configure Full Page Cache / Varnish Cache

The Most Popular Extension Builder for Magento 2

With a big catalog of 234+ extensions for your online store

Configure Full Page Cache Magento 2 - The cache management system that will help you improve the performance of your site better and better. In addition, the Magento system will auto-show a notice at the top of the workplace if it is time to refresh the cache. Just follow the Cache Management link and flush the invalid caches.

By default, Magento 2 provides the full page cache on the server to optimize the display of various pages such as category pages, product pages, and CMS pages. By enabling the full page cache, you can make response time on your store faster as well as reduce the customer’s waiting time to reload the server; otherwise, a fully-generated page can be read directly from the cache. Customers’ experience will be improved and you can increase conversion rates at once.

Please follow this tutorial to configure the full-page cache from Magento 2 configuration.

How To configure the Full Page Cache in Magento 2

  1. On the Admin panel, click Stores. In the Settings section, select Configuration.
  2. Select System under Advanced in the panel on the left
  3. Open the Full Page Cache section, and continue with following:

How to Configure Full Page Cache

  1. In the Caching Application field, select one of the following
* Built-in Application
* Varnish Caching
  1. In the TTL for public content field, set the time-out for the page cache. The default value is 86400

How to Configure Vanish Cache

  • If you choose Varnish option in the Caching Application field, complete the Varnish Configuration section as following instruction:

How to Configure Full Page Cache

  1. In the Access list field, enter the IP addresses, IPs access list separated with ',' that can purge Varnish configuration for config file generation. If field is empty default value localhost will be saved.
  2. In the Backend host field, enter the IP address of the backend host that generates config files. The default value is localhost
  3. In the Backend port field, identify the backend port that is used to generate config files. The default value is: 8080
  4. In the Export Configuration field, click the button for the the version of Varnish that you use.
* Export VCL for Varnish 3
* Export VCL for Varnish 3
  1. When complete, click Save Config

The bottom line

Full Cache page allows pages to be rendered faster, which improves load speed and response time of your website, enhancing customers’ experience considerably. After following these instructions, I believe you can configure Full Page Cache or Varnish Cache in Magento 2 easily. If you still have doubts, please write your concerns in the comment box.

Related topics

Looking for
Customization & Development Services?

8+ years of experiences in e-commerce & Magento has prepared us for any challenges, so that we can lead you to your success.

Get free consultant
development service

Explore Our Products:

People also searched for

Subscribe

Stay in the know

Get special offers on the latest news from Mageplaza.

Earn $10 in reward now!

Earn $10 in reward now!

comment
iphone
go up