{"id":2336,"date":"2017-04-13T15:41:12","date_gmt":"2017-04-13T15:41:12","guid":{"rendered":"http:\/\/cloudkul.com\/blog\/?p=2336"},"modified":"2017-06-14T11:33:09","modified_gmt":"2017-06-14T11:33:09","slug":"flush-cache-magento2","status":"publish","type":"post","link":"https:\/\/cloudkul.com\/blog\/flush-cache-magento2\/","title":{"rendered":"Flush Cache in magento 2"},"content":{"rendered":"<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>A cache is a specific segment of\u00a0 memory that attempts to enhance performance by putting away data that either has been recently accessed or is expected to be accessed soon.<\/p>\n<p>&nbsp;<\/p>\n<p>Flushing gives you a chance to manage storage to ensure that storage memory, and different assets are utilized proficiently. Flushing remove all things in cache, including those that have not yet terminated.<\/p>\n<p>&nbsp;<\/p>\n<p>For example, in a retail application, cached data may never again be used, when the customer has logged off<\/p>\n<p>&nbsp;<\/p>\n<h2>The steps in magento 2 cache flushing<\/h2>\n<p>&nbsp;<\/p>\n<ul>\n<li>Login to your magneto 2.x admin panel<\/li>\n<li>Click system at left hand side bottom corner of your dashboard menu<\/li>\n<\/ul>\n<p><a href=\"http:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2017\/04\/system-magento2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2344\" src=\"http:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2017\/04\/system-magento2.png\" alt=\"\" width=\"250\" height=\"295\" \/><\/a><\/p>\n<ul>\n<li>Click Cache management<\/li>\n<\/ul>\n<p><a href=\"http:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2017\/04\/Cache-management-magento2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2346\" src=\"http:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2017\/04\/Cache-management-magento2.png\" alt=\"\" width=\"411\" height=\"321\" \/><\/a><\/p>\n<ul>\n<li>Click <span style=\"color: #ff6600\">Flush magento cache<\/span> button<\/li>\n<\/ul>\n<p><a href=\"http:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2017\/04\/flush-magento-cache.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2347 size-full\" src=\"http:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2017\/04\/flush-magento-cache.png\" alt=\"\" width=\"320\" height=\"295\" \/><\/a><\/p>\n<h3><em>&#8220;voila it&#8217;s done&#8221;<\/em><\/h3>\n<p>&nbsp;<\/p>\n<h2>Magento 2 has the following cache types<\/h2>\n<hr \/>\n<p>Cache Type\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Description<\/p>\n<hr \/>\n<table style=\"height: 2150px\" width=\"794\" cellspacing=\"0\" cellpadding=\"2\">\n<colgroup>\n<col width=\"122\" \/>\n<col width=\"101\" \/>\n<col width=\"600\" \/> <\/colgroup>\n<tbody>\n<tr>\n<th width=\"450\" height=\"7\"><\/th>\n<th width=\"600\"><\/th>\n<\/tr>\n<tr>\n<td width=\"450\">Configuration<\/td>\n<td width=\"600\">Magento collects configuration from all modules, merges it, and saves the merged result to the cache. This cache also contains store-specific settings stored in the file system and database.<\/p>\n<p>Clean or flush this cache type after modifying configuration files.<\/td>\n<\/tr>\n<tr>\n<td width=\"450\">Layout<\/td>\n<td width=\"600\">Compiled page layouts (that is, the layout components from all components).<\/p>\n<p>Clean or flush this cache type after modifying layout files.<\/td>\n<\/tr>\n<tr>\n<td width=\"450\">Block HTML output<\/td>\n<td width=\"600\">HTML page fragments per block.<\/p>\n<p>Clean or flush this cache type after modifying the view layer.<\/td>\n<\/tr>\n<tr>\n<td width=\"450\">Collections data<\/td>\n<td width=\"600\">Results of database queries.<\/p>\n<p>If necessary, Magento cleans up this cache automatically, but third-party developers can put any data in any segment of the cache.<\/p>\n<p>Clean or flush this cache type if your custom module uses logic that results in cache entries that Magento cannot clean.<\/td>\n<\/tr>\n<tr>\n<td width=\"450\">DDL<\/td>\n<td width=\"600\">Database schema.<\/p>\n<p>If necessary, Magento cleans up this cache automatically, but third-party developers can put any data in any segment of the cache.<\/p>\n<p>Clean or flush this cache type after you make custom changes to the database schema. (In other words, updates that Magento does not make itself.).<\/td>\n<\/tr>\n<tr>\n<td width=\"450\">Entity attribute value (EAV)<\/td>\n<td width=\"450\">Metadata related to EAV attributes (for example, store labels, links to related PHP code, attribute rendering, search settings, and so on).<\/p>\n<p>You should not typically need to clean or flush this cache type.<\/td>\n<\/tr>\n<tr>\n<td width=\"450\">Page cache<\/td>\n<td width=\"600\">Generated HTML pages<\/p>\n<p>If necessary, Magento cleans up this cache automatically, but third-party developers can put any data in any segment of the cache.<\/p>\n<p>Clean\/flush this cache type after modifying code level that affects HTML output.<\/p>\n<p>It\u2019s recommended to keep this cache enabled because caching HTML improves performance significantly.<\/td>\n<\/tr>\n<tr>\n<td width=\"450\">Reflection<\/td>\n<td width=\"600\">Removes a dependency between the Webapi module and the Customer module.<\/td>\n<\/tr>\n<tr>\n<td width=\"450\">Translations<\/td>\n<td width=\"600\">Merged translations from all modules.<\/td>\n<\/tr>\n<tr>\n<td width=\"450\">Integration configuration<\/td>\n<td width=\"600\">Compiled integrations.<\/p>\n<p>Clean or flush this cache after changing or adding integrations.<\/td>\n<\/tr>\n<tr>\n<td width=\"450\">Integration API configuration<\/td>\n<td width=\"600\">Compiled integration APIs.<\/td>\n<\/tr>\n<tr>\n<td width=\"450\">Web services configuration<\/td>\n<td width=\"600\">Web API structure.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<p><em>Read more: <a class=\"text-primary\" href=\"http:\/\/cloudkul.com\/blog\/purge-varnish-cache-remotely-using-cloudflare\/\" target=\"_blank\">How to purge varnish cache remotely when using cloudflare<\/a><\/em><\/p>\n<p><em>Read more: <a class=\"text-primary\" href=\"http:\/\/cloudkul.com\/blog\/amazon-elastic-cache-make-applications-faster\/\">Amazon Elastic Cache : Make your applications faster<\/a><\/em><\/p>\n<p><em>Read more : <a class=\"text-primary\" href=\"http:\/\/cloudkul.com\/blog\/magento-speed-optimization\/\" target=\"_blank\">Magento Speed Optimization.<\/a><\/em><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; &nbsp; A cache is a specific segment of\u00a0 memory that attempts to enhance performance <a class=\"text-primary\" title=\"read more\" href=\"https:\/\/cloudkul.com\/blog\/flush-cache-magento2\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":16,"featured_media":2341,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[2,20],"tags":[159,160,158,161,147,162],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Flush Cache in magento 2 - Cloudkul<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/cloudkul.com\/blog\/flush-cache-magento2\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Flush Cache in magento 2 - Cloudkul\" \/>\n<meta property=\"og:description\" content=\"&nbsp; &nbsp; A cache is a specific segment of\u00a0 memory that attempts to enhance performance [...]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/cloudkul.com\/blog\/flush-cache-magento2\/\" \/>\n<meta property=\"og:site_name\" content=\"Cloudkul\" \/>\n<meta property=\"article:published_time\" content=\"2017-04-13T15:41:12+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2017-06-14T11:33:09+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2017\/04\/magento2-cache-flushing.png\" \/>\n\t<meta property=\"og:image:width\" content=\"848\" \/>\n\t<meta property=\"og:image:height\" content=\"422\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Ashish Acharjee\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/cloudkul.com\/blog\/flush-cache-magento2\/\",\"url\":\"https:\/\/cloudkul.com\/blog\/flush-cache-magento2\/\",\"name\":\"Flush Cache in magento 2 - Cloudkul\",\"isPartOf\":{\"@id\":\"https:\/\/cloudkul.com\/blog\/#website\"},\"datePublished\":\"2017-04-13T15:41:12+00:00\",\"dateModified\":\"2017-06-14T11:33:09+00:00\",\"author\":{\"@id\":\"https:\/\/cloudkul.com\/blog\/#\/schema\/person\/897deb91d78e4185181103136169f05d\"},\"breadcrumb\":{\"@id\":\"https:\/\/cloudkul.com\/blog\/flush-cache-magento2\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/cloudkul.com\/blog\/flush-cache-magento2\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/cloudkul.com\/blog\/flush-cache-magento2\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/cloudkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Flush Cache in magento 2\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/cloudkul.com\/blog\/#website\",\"url\":\"https:\/\/cloudkul.com\/blog\/\",\"name\":\"Cloudkul\",\"description\":\"Host your eCommerce Store on AWS with Optimized Performance\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/cloudkul.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/cloudkul.com\/blog\/#\/schema\/person\/897deb91d78e4185181103136169f05d\",\"name\":\"Ashish Acharjee\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/cloudkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/4b376164d8524dbb53ecd5127a948b65?s=96&d=https%3A%2F%2Fs.gravatar.com%2Favatar%2F6148c37469011bc2f8e491ca8f5de495%3Fs%3D80&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/4b376164d8524dbb53ecd5127a948b65?s=96&d=https%3A%2F%2Fs.gravatar.com%2Favatar%2F6148c37469011bc2f8e491ca8f5de495%3Fs%3D80&r=g\",\"caption\":\"Ashish Acharjee\"},\"url\":\"https:\/\/cloudkul.com\/blog\/author\/ashish-cloudkul571\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Flush Cache in magento 2 - Cloudkul","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/cloudkul.com\/blog\/flush-cache-magento2\/","og_locale":"en_US","og_type":"article","og_title":"Flush Cache in magento 2 - Cloudkul","og_description":"&nbsp; &nbsp; A cache is a specific segment of\u00a0 memory that attempts to enhance performance [...]","og_url":"https:\/\/cloudkul.com\/blog\/flush-cache-magento2\/","og_site_name":"Cloudkul","article_published_time":"2017-04-13T15:41:12+00:00","article_modified_time":"2017-06-14T11:33:09+00:00","og_image":[{"width":848,"height":422,"url":"https:\/\/cloudkul.com\/blog\/wp-content\/uploads\/2017\/04\/magento2-cache-flushing.png","type":"image\/png"}],"author":"Ashish Acharjee","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/cloudkul.com\/blog\/flush-cache-magento2\/","url":"https:\/\/cloudkul.com\/blog\/flush-cache-magento2\/","name":"Flush Cache in magento 2 - Cloudkul","isPartOf":{"@id":"https:\/\/cloudkul.com\/blog\/#website"},"datePublished":"2017-04-13T15:41:12+00:00","dateModified":"2017-06-14T11:33:09+00:00","author":{"@id":"https:\/\/cloudkul.com\/blog\/#\/schema\/person\/897deb91d78e4185181103136169f05d"},"breadcrumb":{"@id":"https:\/\/cloudkul.com\/blog\/flush-cache-magento2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/cloudkul.com\/blog\/flush-cache-magento2\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/cloudkul.com\/blog\/flush-cache-magento2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/cloudkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Flush Cache in magento 2"}]},{"@type":"WebSite","@id":"https:\/\/cloudkul.com\/blog\/#website","url":"https:\/\/cloudkul.com\/blog\/","name":"Cloudkul","description":"Host your eCommerce Store on AWS with Optimized Performance","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/cloudkul.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/cloudkul.com\/blog\/#\/schema\/person\/897deb91d78e4185181103136169f05d","name":"Ashish Acharjee","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cloudkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/4b376164d8524dbb53ecd5127a948b65?s=96&d=https%3A%2F%2Fs.gravatar.com%2Favatar%2F6148c37469011bc2f8e491ca8f5de495%3Fs%3D80&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4b376164d8524dbb53ecd5127a948b65?s=96&d=https%3A%2F%2Fs.gravatar.com%2Favatar%2F6148c37469011bc2f8e491ca8f5de495%3Fs%3D80&r=g","caption":"Ashish Acharjee"},"url":"https:\/\/cloudkul.com\/blog\/author\/ashish-cloudkul571\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/posts\/2336"}],"collection":[{"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/users\/16"}],"replies":[{"embeddable":true,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/comments?post=2336"}],"version-history":[{"count":45,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/posts\/2336\/revisions"}],"predecessor-version":[{"id":2396,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/posts\/2336\/revisions\/2396"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/media\/2341"}],"wp:attachment":[{"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/media?parent=2336"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/categories?post=2336"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cloudkul.com\/blog\/wp-json\/wp\/v2\/tags?post=2336"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}