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 provides the full page cache on the server to optimize the display of various pages such as category pages, product pages, and CMS pages. 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.
Let follow this tutorial to get the way to configure the full-page cache from Magento 2 configuration.
Stores. In the
Advancedin the panel on the left
Full Page Cachesection, and continue with following:
Caching Application field, select one of the following
TTL for public content field, set the time-out for the page cache. The default value is 86400
Varnishoption in the
Caching Applicationfield, complete the
Varnish Configurationsection as following instruction:
Access listfield, enter the IP addresses, IPs access list separated with ',' that can purge Varnish configuration for config file generation. If field is empty default value
localhostwill be saved.
Backend hostfield, enter the IP address of the backend host that generates config files. The default value is
Backend portfield, identify the backend port that is used to generate config files. The default value is:
In the Export Configuration field, click the button for the the version of Varnish that you use.
It comes to the end of tutorial: How to Configure Full Page Cache / Vanish Cache.