{"id":203,"date":"2018-10-08T12:54:50","date_gmt":"2018-10-08T12:54:50","guid":{"rendered":"https:\/\/meetanshi.com\/blog\/2018\/10\/08\/configure-magento-2-full-page-cache\/"},"modified":"2025-07-22T17:53:52","modified_gmt":"2025-07-22T12:23:52","slug":"configure-magento-2-full-page-cache","status":"publish","type":"post","link":"https:\/\/meetanshi.com\/blog\/configure-magento-2-full-page-cache\/","title":{"rendered":"How to Configure Magento 2 Full Page Cache"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">It\u2019s very important to improve the response time and decrease the customer\u2019s waiting time to reload the server. It will improve the performance of your site better.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">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.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Follow the guide below to configure&nbsp;<strong><em>Magento 2 Full Page Cache<\/em><\/strong>&nbsp;and speed up your site and hence, improve your Google ranking and sales!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Steps to configure Magento 2 Full Page Cache:<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Log in to the Admin Panel.<\/li>\n\n\n\n<li>Navigate to&nbsp;<em><strong><em>Stores &gt; Configuration &gt; Advanced &gt; System&nbsp;<\/em><\/strong><\/em><em>option<\/em><\/li>\n\n\n\n<li>Open the&nbsp;<em>\u2018Full Page Cache\u2019<\/em>&nbsp;section.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2018\/10\/1_caching-applicatin_Enable-varnish-cache_1.png\" alt=\"1_caching applicatin_Enable varnish cache_1\" class=\"wp-image-5819\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Under the&nbsp;<em><strong>Caching Application<\/strong><\/em>&nbsp;field, select either Built-In Application or Varnish Application.<\/li>\n\n\n\n<li>Set the time-out for page cache in the&nbsp;<em><strong>TTL for&nbsp;<\/strong><\/em><em><strong>public<\/strong><\/em><em><strong>&nbsp;content<\/strong><\/em>&nbsp;field. Default Value: 86400<\/li>\n\n\n\n<li>In case you chose the Varnish option in Caching Application, configure the&nbsp;<em><strong>Varnish Configuration&nbsp;<\/strong><\/em>option as below:<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2018\/10\/2_Varnish-Configuration.png\" alt=\"2_Varnish-Configuration\" class=\"wp-image-3608\"\/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Access List:<\/strong>&nbsp;Input the IP address, IPs access list separated by \u201c,\u201d that can purge Varnish configuration for config file generation. If the field is empty, the default value&nbsp;<em><strong>localhost<\/strong><\/em>&nbsp;will be saved.<\/li>\n\n\n\n<li><strong>Backend Host:<\/strong>&nbsp;Enter the IP address of the backend host that generates config files. Default Value: Localhost<\/li>\n\n\n\n<li><strong>Backend Port:<\/strong>&nbsp;Identify the backend port that is used to generate config files. Default Value is 8080, however, it depends on the server.<\/li>\n\n\n\n<li><strong>Export&nbsp;<\/strong><strong>Configuration<\/strong><strong>:&nbsp;<\/strong>Select the button for the version of Varnish that you use from either&nbsp;<em>Export VCL for Varnish 3<\/em>&nbsp;or&nbsp;<em>Export VCL for Varnish 3.<\/em><\/li>\n\n\n\n<li><strong>Save&nbsp;<\/strong>your configuration.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>It\u2019s very important to improve the response time and decrease the customer\u2019s waiting time to reload the server. It will improve the performance of your&#8230;<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[34],"tags":[],"class_list":["post-203","post","type-post","status-publish","format-standard","hentry","category-magento"],"acf":[],"_links":{"self":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/203","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/comments?post=203"}],"version-history":[{"count":2,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/203\/revisions"}],"predecessor-version":[{"id":15584,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/203\/revisions\/15584"}],"wp:attachment":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/media?parent=203"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/categories?post=203"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/tags?post=203"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}