{"id":74722,"date":"2016-08-16T09:23:57","date_gmt":"2016-08-16T13:23:57","guid":{"rendered":"http:\/\/www.templatemonster.com\/help\/?p=74722"},"modified":"2017-08-24T05:18:51","modified_gmt":"2017-08-24T09:18:51","slug":"magento-2-x-clear-magento-cache","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/magento-2-x-clear-magento-cache.html","title":{"rendered":"Magento 2.x. How to clear Magento cache"},"content":{"rendered":"<p>We are glad to present you a tutorial that shows how to clear Magento cache in <a href=\"https:\/\/www.templatemonster.com\/magento-themes.php\"target=\"_blank\"title=\"Magento Themes\">Magento 2 templates<\/a>.<\/p>\r\n<div class=\"video-container\">\r\n\t<iframe src=\"https:\/\/www.youtube.com\/embed\/0HEJJzKdE2w\"><\/iframe>\r\n<\/div>\r\n<p class=\"info-box\">The Caching system of Magento 2 will help your store perform better and faster especially when you add lots of content to it. <\/p> \r\n<p>In order to clear Magento cache, perform the following steps: <\/p>\r\n<ol>\r\n\t<li><p>Login to your Magento Admin Panel.<\/p><\/li>\r\n    <li><p>Navigate to <strong> System>Cache Management<\/strong> section.<\/p>\r\n\t\r\n<a class=\"darkbox\" href=\"\/help\/wp-content\/uploads\/2016\/08\/Magento_2x.How_to_clear_cash1.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2016\/08\/Magento_2x.How_to_clear_cash1-300x168.png\" alt=\"Magento_2x.How_to_clear_cash1\" width=\"300\" height=\"168\" class=\"alignnone size-medium wp-image-74723\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/08\/Magento_2x.How_to_clear_cash1-300x168.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/08\/Magento_2x.How_to_clear_cash1-150x84.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/08\/Magento_2x.How_to_clear_cash1-768x429.png 768w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/08\/Magento_2x.How_to_clear_cash1-1024x572.png 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/08\/Magento_2x.How_to_clear_cash1.png 1280w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\t\r\n\t<\/li>\r\n    <li><p>To clear the entire Magento 2 cache, click on the button titled <strong>Flush Magento Cache<\/strong>.<\/p>\r\n\t\r\n<a class=\"darkbox\" href=\"\/help\/wp-content\/uploads\/2016\/08\/Magento_2x.How_to_clear_cash2.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2016\/08\/Magento_2x.How_to_clear_cash2-300x166.png\" alt=\"Magento_2x.How_to_clear_cash2\" width=\"300\" height=\"166\" class=\"alignnone size-medium wp-image-74724\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/08\/Magento_2x.How_to_clear_cash2-300x166.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/08\/Magento_2x.How_to_clear_cash2-150x83.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/08\/Magento_2x.How_to_clear_cash2-768x425.png 768w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/08\/Magento_2x.How_to_clear_cash2-1024x567.png 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/08\/Magento_2x.How_to_clear_cash2.png 1280w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\t\r\n\t<\/li>\r\n\t<li><p> Let us define the types of cache that we have under cache management:<\/p>\r\n\t\t\r\n\t\t<ul class=\"list\">\r\n\t\t\t<li><p><strong>Configuration<\/strong> &#8211; flush it after modifying configuration files.<\/p><\/li>\r\n\t\t\t<li><p><strong>Layouts<\/strong> &#8211; flush it after modifying layout files.<\/p><\/li>\r\n\t\t\t<li><p><strong>Blocks HTML output<\/strong> &#8211; flush it after modifying the view layer of your store.<\/p><\/li>\r\n\t\t\t<li><p><strong>Collections Data<\/strong> &#8211; usually it is automatically cleaned by Magento, but sometimes custom modules may write entries which Magento will not be able to clean by itself, in those cases flush the cache manually.<\/p><\/li>\r\n\t\t\t<li><p><strong>Reflection Data<\/strong> &#8211; caches any API interfaces reflection data.<\/p><\/li>\r\n\t\t\t<li><p><strong>Database DDL operations<\/strong> &#8211; it is automatically cleaned by Magento.<\/p><\/li>\r\n\t\t\t<li><p><strong>EAV types and attributes<\/strong> &#8211; it collects metadata regarding the entity attributes.<\/p><\/li>\r\n\t\t\t<li><p><strong>Integrations Configuration<\/strong> &#8211; flush it after adding new or changing existing integrations.<\/p><\/li>\r\n\t\t\t<li><p><strong>Integrations API Configuration<\/strong> &#8211; it caches the API configuration of your Store&#8217;s Integrations.<\/p><\/li>\r\n\t\t\t<li><p><strong>Page Cache<\/strong> &#8211;  flush it after making changing pages.<\/p><\/li>\r\n\t\t\t<li><p><strong>Translations<\/strong> &#8211; flush it after making translations from all modules. <\/p><\/li>\r\n\t\t\t<li><p><strong>Web Services Configuration<\/strong> &#8211; Caches the Web API Structure of your website.<\/p><\/li>\r\n\t\t<\/ul>\r\n\t<\/li>\r\n\t<li><p>Sometimes, you need to clear only one of the cache types. For example, when you have changed the content of a page, you will receive a notification regarding the change and a link to the <strong>Cache Manager<\/strong> so you can refresh the Page Cache.<\/p><\/li>\r\n    <li><p>Choose the <strong>Page Cache<\/strong> from the drop-down menu, select the <strong>Refresh<\/strong> option and click the <strong>Submit<\/strong> button.<\/p>\r\n\t\r\n<a class=\"darkbox\" href=\"\/help\/wp-content\/uploads\/2016\/08\/Magento_2x.How_to_clear_cash3.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2016\/08\/Magento_2x.How_to_clear_cash3-300x157.png\" alt=\"Magento_2x.How_to_clear_cash3\" width=\"300\" height=\"157\" class=\"alignnone size-medium wp-image-74725\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/08\/Magento_2x.How_to_clear_cash3-300x157.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/08\/Magento_2x.How_to_clear_cash3-150x78.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/08\/Magento_2x.How_to_clear_cash3-768x402.png 768w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/08\/Magento_2x.How_to_clear_cash3-1024x536.png 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/08\/Magento_2x.How_to_clear_cash3.png 1281w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\t\r\n\t<\/li>\r\n<\/ol>\r\n<div class=\"inline-banner\">\r\n<a href=\"https:\/\/www.templatemonster.com\/service-center\/\">\r\n<img src=\"\/help\/files\/banners\/inline\/Banner-2-(835-x100).jpg\"\/>\r\n<\/a>\r\n<\/div>\r\n<p>Now you know how to clear Magento cache in Magento 2.<\/p>\r\n<p>Feel free to check the detailed video tutorial below:<\/p>\r\n<a href=\"http:\/\/www.youtube.com\/watch?v=0HEJJzKdE2w?width=1280&amp;height=720\" rel=\"prettyPhoto\">Magento 2.x. How to clear Magento cache<\/a>","protected":false},"excerpt":{"rendered":"<p>We are glad to present you a tutorial that shows how to clear Magento cache in Magento 2 templates.<\/p>\n","protected":false},"author":87,"featured_media":74851,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[729],"tags":[906,2428,2315],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/74722"}],"collection":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/users\/87"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=74722"}],"version-history":[{"count":2,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/74722\/revisions"}],"predecessor-version":[{"id":82901,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/74722\/revisions\/82901"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media\/74851"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=74722"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=74722"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=74722"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}