It’s very important to improve the response time and decrease the customer’s waiting time to reload the server. It will improve the performance of your site better.
Magento 2 provides the full page cache on the server to optimize the display of various pages such as product pages, category pages, and CMS pages.
Follow the guide below to configure Magento 2 Full Page Cache and speed up your site and hence, improve your Google ranking and sales!
Steps to configure Magento 2 Full Page Cache:
- Log in to the Admin Panel.
- Navigate to Stores > Configuration > Advanced > System option
- Open the ‘Full Page Cache’ section.

- Under the Caching Application field, select either Built-In Application or Varnish Application.
- Set the time-out for page cache in the TTL for public content field. Default Value: 86400
- In case you chose the Varnish option in Caching Application, configure the Varnish Configuration option as below:

- Access List: Input the IP address, IPs access list separated by “,” that can purge Varnish configuration for config file generation. If the field is empty, the default value localhost will be saved.
- Backend Host: Enter the IP address of the backend host that generates config files. Default Value: Localhost
- Backend Port: Identify the backend port that is used to generate config files. Default Value is 8080, however, it depends on the server.
- Export Configuration: Select the button for the version of Varnish that you use from either Export VCL for Varnish 3 or Export VCL for Varnish 3.
- Save your configuration.