How to Configure Full Page Cache in Magento 2


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.

For more special, by default, Magento 2 provide the full page cache on the server to optimize the display of various pages such as category, product, and CMS page. Enabling the full page cache, you can make response time on your store faster as well as readuce the customer’s waiting time to reload the server, otherwise, a fully-generated page can be read directly from the cache.

Let follow this tutorial to get the way to configure the full-page cache from Magento 2 configuration.

To configure the full-page cache:

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

How to Configure Full Page Cache

  • In the Caching Application field, select one of the following

    • Built-in Application
    • Varnish Caching
  • In the TTL for public content field, set the time-out for the page cache. The default value is 86400

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

How to Configure Full Page Cache

  • 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.
  • In the Backend host field, enter the IP address of the backend host that generates config files. The default value is localhost
  • In the Backend port field, identify the backend port that is used to generate config files. The default value is: 8080
  • 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
  • When complete, click Save Config

Ref: Magento 2 User Guide

It comes to the end of tutorial: How to Configure Full Page Cache in Magento 2.

Please leave comments if you have any questions, feedbacks.

Comments for How to Configure Full Page Cache in Magento 2

You also may like these Magento 2 Extensions

One Step Checkout

17 reviews

Layered Navigation

7 reviews


7 reviews


10 reviews

Zoho CRM

no review

Store Locator

no review

Shop By Brand

no review

Better Blog

7 reviews