<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>The Magento Expert</title>
	<atom:link href="https://www.the-mage-expert.com/tag/cache/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.the-mage-expert.com</link>
	<description>Your Magento Commerce Expert</description>
	<lastBuildDate>Thu, 05 Nov 2026 21:47:58 +0000</lastBuildDate>
	<language>de-DE</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.8.6</generator>
	<item>
		<title>Flush Magento Cache vs. Flush Cache Storage: What&#8217;s the Difference?</title>
		<link>https://www.the-mage-expert.com/3217/flush-magento-cache-vs-flush-cache-storage-what-s-the-difference/</link>
		<comments>https://www.the-mage-expert.com/3217/flush-magento-cache-vs-flush-cache-storage-what-s-the-difference/#comments</comments>
		<pubDate>Fri, 16 Oct 2026 21:11:51 +0000</pubDate>
		<dc:creator><![CDATA[Mex]]></dc:creator>
				<category><![CDATA[Magento Solutions]]></category>
		<category><![CDATA[cache]]></category>
		<category><![CDATA[Magento 2]]></category>

		<guid isPermaLink="false">https://www.the-mage-expert.com/?p=3217</guid>
		<description><![CDATA[In Magento admin under System → Cache Management you will find two buttons that appear to do almost the same thing: Flush Magento Cache and Flush Cache Storage. The difference is simpler than their names suggest. Flush Magento Cache roughly&#8230;]]></description>
				<content:encoded><![CDATA[<p>In Magento admin under <strong>System → Cache Management</strong> you will find two buttons that appear to do almost the same thing: <strong>Flush Magento Cache</strong> and <strong>Flush Cache Storage</strong>. The difference is simpler than their names suggest.</p>
<p><strong>Flush Magento Cache</strong> roughly means: remove the cache entries Magento knows belong to Magento.</p><pre class="crayon-plain-tag">bin/magento cache:clean</pre><p> bzw. </p><pre class="crayon-plain-tag">bin/magento c:c</pre><p>Magento clears its own entries but leaves the underlying cache storage intact.</p>
<p><strong>Flush Cache Storage</strong> instead means: Clear the entire cache storage currently used by Magento.</p><pre class="crayon-plain-tag">bin/magento cache:flush</pre><p> bzw. </p><pre class="crayon-plain-tag">bin/magento c:f</pre><p>Think of it as a drawer: <strong>cache:clean</strong> removes only Magento&#8217;s items from the drawer. <strong>cache:flush</strong> empties the entire drawer.</p>
<p>This matters with Redis, for example. If another application uses the same Redis storage, <strong>Flush Cache Storage</strong> may remove that application&#8217;s cache data too.</p>
<p>For normal cache maintenance, <strong>Flush Magento Cache</strong>. <strong>Flush Cache Storage</strong> is generally sufficient. The other option is more drastic and should be used only when the entire cache storage really needs to be emptied.</p>]]></content:encoded>
			<wfw:commentRss>https://www.the-mage-expert.com/3217/flush-magento-cache-vs-flush-cache-storage-what-s-the-difference/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Who or What Keeps Clearing the Cache?</title>
		<link>https://www.the-mage-expert.com/3199/who-or-what-keeps-clearing-the-cache/</link>
		<comments>https://www.the-mage-expert.com/3199/who-or-what-keeps-clearing-the-cache/#comments</comments>
		<pubDate>Tue, 13 Oct 2026 20:17:34 +0000</pubDate>
		<dc:creator><![CDATA[Mex]]></dc:creator>
				<category><![CDATA[Magento Solutions]]></category>
		<category><![CDATA[cache]]></category>
		<category><![CDATA[Magento 2]]></category>

		<guid isPermaLink="false">https://www.the-mage-expert.com/?p=3199</guid>
		<description><![CDATA[Does one of your Magento 2 caches seem to clear itself all the time? A Call Stack can help you find the cause. With custom extensions, it can show exactly which code triggered a cache cleanup. For temporary analysis, you&#8230;]]></description>
				<content:encoded><![CDATA[<p>Does one of your Magento 2 caches seem to clear itself all the time? A <strong>Call Stack</strong> can help you find the cause. With custom extensions, it can show exactly which code triggered a cache cleanup.</p>
<p>For temporary analysis, you can create a plugin for <strong>TypeList::cleanType()</strong> and <strong>Cache Manager::flush()</strong> . Register it in <strong>etc/di.xml</strong>:</p><pre class="crayon-plain-tag">&lt;?xml version=&quot;1.0&quot;?&gt;
&lt;config xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;
        xsi:noNamespaceSchemaLocation=&quot;urn:magento:framework:ObjectManager/etc/config.xsd&quot;&gt;

    &lt;type name=&quot;Magento\Framework\App\Cache\TypeList&quot;&gt;
        &lt;plugin name=&quot;cache_trace_type_list&quot;
                type=&quot;Vendor\Module\Plugin\CacheTrace&quot;/&gt;
    &lt;/type&gt;

    &lt;type name=&quot;Magento\Framework\App\Cache\Manager&quot;&gt;
        &lt;plugin name=&quot;cache_trace_manager&quot;
                type=&quot;Vendor\Module\Plugin\CacheTrace&quot;/&gt;
    &lt;/type&gt;

&lt;/config&gt;</pre><p></p>
<p>The plugin logs the affected cache type and call stack:</p><pre class="crayon-plain-tag">&lt;?php

declare(strict_types=1);

namespace Vendor\Module\Plugin;

use Magento\Framework\App\Cache\Manager;
use Magento\Framework\App\Cache\TypeList;
use Magento\Framework\Filesystem\DirectoryList;

class CacheTrace
{
    public function __construct(
        private readonly DirectoryList $directoryList
    ) {
    }

    public function beforeCleanType(
        TypeList $subject,
        string $typeCode
    ): array {
        $this-&gt;writeTrace('CLEAN', [$typeCode]);

        return [$typeCode];
    }

    public function beforeFlush(
        Manager $subject,
        array $types
    ): array {
        $this-&gt;writeTrace('FLUSH', $types);

        return [$types];
    }

    private function writeTrace(string $action, array $types): void
    {
        $trace = debug_backtrace(
            DEBUG_BACKTRACE_IGNORE_ARGS,
            25
        );

        $lines = [];

        foreach ($trace as $entry) {
            $call = ($entry['class'] ?? '')
                . ($entry['type'] ?? '')
                . ($entry['function'] ?? '');

            $location = isset($entry['file'])
                ? $entry['file'] . ':' . ($entry['line'] ?? '')
                : '';

            $lines[] = $call . ' ' . $location;
        }

        $message = sprintf(
            &quot;[%s] %s: %s\n%s\n\n&quot;,
            date('Y-m-d H:i:s'),
            $action,
            implode(', ', $types),
            implode(&quot;\n&quot;, $lines)
        );

        file_put_contents(
            $this-&gt;directoryList-&gt;getPath(DirectoryList::LOG)
                . '/cache-trace.log',
            $message,
            FILE_APPEND | LOCK_EX
        );
    }
}</pre><p></p>
<p>If, for example, the <strong>full_page</strong> or <strong>layout</strong> cache gets cleared, the corresponding call stack is written to <strong>var/log/cache-trace.log</strong>. You can often identify whether the call originated in Magento core, a cron job or a specific extension.</p>
<p>It is also important to distinguish <strong>CLEAN</strong> from <strong>FLUSH</strong>. Clean removes specific Magento cache types, while flush clears the underlying cache storage.</p>
<p>Use this kind of tracing only while debugging and remove it afterwards. When a store keeps losing its full page cache for no apparent reason, it can quickly reveal <strong>which code is clearing the cache.</strong>.</p>]]></content:encoded>
			<wfw:commentRss>https://www.the-mage-expert.com/3199/who-or-what-keeps-clearing-the-cache/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>High Redis or Valkey Memory Usage</title>
		<link>https://www.the-mage-expert.com/3184/high-redis-or-valkey-memory-usage/</link>
		<comments>https://www.the-mage-expert.com/3184/high-redis-or-valkey-memory-usage/#comments</comments>
		<pubDate>Mon, 12 Oct 2026 20:16:33 +0000</pubDate>
		<dc:creator><![CDATA[Mex]]></dc:creator>
				<category><![CDATA[Magento Solutions]]></category>
		<category><![CDATA[cache]]></category>
		<category><![CDATA[Magento 2]]></category>
		<category><![CDATA[Patch]]></category>
		<category><![CDATA[Redis]]></category>
		<category><![CDATA[Valk]]></category>

		<guid isPermaLink="false">https://www.the-mage-expert.com/?p=3184</guid>
		<description><![CDATA[If Redis or Valkey consumes unusually large amounts of memory in a Magento 2 store with a large product catalog, a Magento core bug may be responsible. Adobe tracks the issue under the patch ACP2E-4908. Magento may create a separate&#8230;]]></description>
				<content:encoded><![CDATA[<p>If Redis or Valkey consumes unusually large amounts of memory in a Magento 2 store with a large product catalog, a Magento core bug may be responsible. Adobe tracks the issue under the patch <strong>ACP2E-4908</strong>.</p>
<p>Magento may create a separate <strong>Layout Cache Eintrag</strong> for every product and store view. With 50,000 products and several store views, the number of cache entries can become very large.</p>
<p>The result is excessive memory usage in <strong>Redis or Valkey</strong>, even when catalog size and traffic do not seem to justify it.</p>
<p>Affected versions include Magento Open Source and Adobe Commerce <strong>ab Version 2.4.8 bis vor 2.4.10</strong>. Adobe provides the Quality Patch <strong>ACP2E-4908</strong> for the issue.</p>
<p>I can help install the patch in your Magento 2 store or investigate other potential causes.</p>]]></content:encoded>
			<wfw:commentRss>https://www.the-mage-expert.com/3184/high-redis-or-valkey-memory-usage/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Private Sections vs. cacheable=&#8221;false&#8221;: What&#8217;s the Difference?</title>
		<link>https://www.the-mage-expert.com/3148/private-sections-vs-cacheable-false-what-s-the-difference/</link>
		<comments>https://www.the-mage-expert.com/3148/private-sections-vs-cacheable-false-what-s-the-difference/#comments</comments>
		<pubDate>Tue, 06 Oct 2026 21:18:35 +0000</pubDate>
		<dc:creator><![CDATA[Mex]]></dc:creator>
				<category><![CDATA[Magento Solutions]]></category>
		<category><![CDATA[cache]]></category>
		<category><![CDATA[Hyvä]]></category>
		<category><![CDATA[Magento 2]]></category>
		<category><![CDATA[Private Content]]></category>

		<guid isPermaLink="false">https://www.the-mage-expert.com/?p=3148</guid>
		<description><![CDATA[Dynamic content in Magento 2 does not automatically mean you must disable the Full Page Cache for the entire page. That is what Private Contentis designed to help avoid. A block with cacheable=&#8221;false&#8221; can make the whole page non-cacheable. With&#8230;]]></description>
				<content:encoded><![CDATA[<p>Dynamic content in Magento 2 does not automatically mean you must disable the <strong>Full Page Cache</strong> for the entire page. That is what <strong>Private Content</strong>is designed to help avoid.</p>
<p>A block with <strong>cacheable=&#8221;false&#8221;</strong> can make the whole page non-cacheable. With Private Content, the page itself remains cacheable, while only certain <strong>user-specific sections are loaded separately</strong> and rendered dynamically.</p>
<p>Typical examples include the shopping cart, customer name and wishlist.</p>
<p>The principle is simple: <strong>Cacheable content comes from the full page cache; personal content is loaded independently.</strong></p>
<p><strong>cacheable=&#8221;false&#8221;</strong> should not be used indiscriminately just because one area of the page is dynamic. <strong>Private Content</strong> provides a cleaner solution in many cases without sacrificing full page caching for the entire page.</p>
<p>A simple example is a custom customer section. The PHP class provides the personalized data:</p><pre class="crayon-plain-tag">namespace Vendor\Module\CustomerData;

use Magento\Customer\CustomerData\SectionSourceInterface;

class Example implements SectionSourceInterface
{
    public function getSectionData(): array
    {
        return [
            'message' =&gt; 'Dieser Inhalt ist individuell'
        ];
    }
}</pre><p>The section is then declared in <strong>etc/frontend/di.xml</strong> registriert:</p><pre class="crayon-plain-tag">&lt;type name=&quot;Magento\Customer\CustomerData\SectionPoolInterface&quot;&gt;
    &lt;arguments&gt;
        &lt;argument name=&quot;sectionSourceMap&quot; xsi:type=&quot;array&quot;&gt;
            &lt;item name=&quot;example&quot; xsi:type=&quot;string&quot;&gt;Vendor\Module\CustomerData\Example&lt;/item&gt;
        &lt;/argument&gt;
    &lt;/arguments&gt;
&lt;/type&gt;</pre><p>In Hyvä, customer sections are available through the event <strong>private-content-loaded</strong> :</p><pre class="crayon-plain-tag">&lt;div
    x-data=&quot;{ message: '' }&quot;
    @private-content-loaded.window=&quot;
        message = $event.detail.data.example?.message || ''
    &quot;
&gt;
    &lt;span x-text=&quot;message&quot;&gt;&lt;/span&gt;
&lt;/div&gt;</pre><p>The page itself stays in the full page cache. Only the customer section data is supplied separately in the browser and can vary by visitor.</p>]]></content:encoded>
			<wfw:commentRss>https://www.the-mage-expert.com/3148/private-sections-vs-cacheable-false-what-s-the-difference/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Page Is Not Served from Cache?</title>
		<link>https://www.the-mage-expert.com/3145/page-is-not-served-from-cache/</link>
		<comments>https://www.the-mage-expert.com/3145/page-is-not-served-from-cache/#comments</comments>
		<pubDate>Tue, 06 Oct 2026 21:11:02 +0000</pubDate>
		<dc:creator><![CDATA[Mex]]></dc:creator>
				<category><![CDATA[Magento Solutions]]></category>
		<category><![CDATA[cache]]></category>
		<category><![CDATA[layout]]></category>
		<category><![CDATA[Magento 2]]></category>

		<guid isPermaLink="false">https://www.the-mage-expert.com/?p=3145</guid>
		<description><![CDATA[If a product, category or CMS page is never cached despite an enabled Full Page Cache , the cause is not always Varnish, Redis or cache configuration. Sometimes a single layout XML block can exclude the entire page from full&#8230;]]></description>
				<content:encoded><![CDATA[<p>If a product, category or CMS page is never cached despite an enabled <strong>Full Page Cache</strong> , the cause is not always Varnish, Redis or cache configuration. Sometimes a single layout XML block can exclude the entire page from full page caching.</p>
<p>One common culprit is <strong>cacheable=&#8221;false&#8221;</strong>:</p><pre class="crayon-plain-tag">&lt;block class=&quot;Vendor\Module\Block\Example&quot;
       name=&quot;example&quot;
       template=&quot;Vendor_Module::example.phtml&quot;
       cacheable=&quot;false&quot;/&gt;</pre><p></p>
<p>. If such a block appears on the page, Magento treats the entire page as non-cacheable. Even an otherwise normal category or product page may then be rendered again on every request.</p>
<p>Especially with third-party extensions or older customizations, search for <strong>cacheable=&#8221;false&#8221;</strong>when full page caching seems ineffective. This attribute is sometimes used to render dynamic content even though other Magento mechanisms, such as <strong>Private Content</strong> , are more appropriate.</p>]]></content:encoded>
			<wfw:commentRss>https://www.the-mage-expert.com/3145/page-is-not-served-from-cache/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What Are X-Magento-Tags?</title>
		<link>https://www.the-mage-expert.com/3141/what-are-x-magento-tags/</link>
		<comments>https://www.the-mage-expert.com/3141/what-are-x-magento-tags/#comments</comments>
		<pubDate>Mon, 05 Oct 2026 12:01:40 +0000</pubDate>
		<dc:creator><![CDATA[Mex]]></dc:creator>
				<category><![CDATA[Magento Solutions]]></category>
		<category><![CDATA[cache]]></category>
		<category><![CDATA[IdentityInterface]]></category>
		<category><![CDATA[Magento 2]]></category>

		<guid isPermaLink="false">https://www.the-mage-expert.com/?p=3141</guid>
		<description><![CDATA[When investigating Magento caching in more detail, you may encounter X-Magento-Tags. Magento uses these tags to describe which entities contribute to a cached response, such as products, categories or CMS pages. Typical cache tags look like this: [crayon-6af33ff74df3a/] The structure&#8230;]]></description>
				<content:encoded><![CDATA[<p>When investigating Magento caching in more detail, you may encounter <strong>X-Magento-Tags</strong>. Magento uses these tags to describe which entities contribute to a cached response, such as products, categories or CMS pages.</p>
<p>Typical cache tags look like this:</p><pre class="crayon-plain-tag">cat_p_123
cat_c_42
cms_p_5</pre><p></p>
<p>The structure is simple: the first part identifies the entity type, while the following number is usually the entity&#8217;s <strong>Entity ID</strong>. <strong>cat_p_123</strong> stands for product ID 123, <strong>cat_c_42</strong> for category ID 42 and <strong>cms_p_5</strong> for CMS page ID 5.</p>
<p>Magento defines these prefixes on the relevant entities, for example in product code using <strong>cat_p</strong>. The entity ID is appended to produce a unique cache tag.</p>
<p>If product 123 changes, Magento can invalidate cache entries carrying the tag <strong>cat_p_123</strong> instead of clearing the entire full page cache. Varnish uses this information with the cached objects to invalidate specific content.</p>
<p>The tags are generated in part by Magento&#8217;s <strong>IdentityInterface</strong> and its method <strong>getIdentities()</strong>. Custom blocks and modules can also declare which data their cached output depends on.</p>
<p>Cacheable GraphQL requests use these tags too, allowing product, category and CMS data to be invalidated selectively.</p>
<p>Missing or incorrect dependencies in custom code can lead to a particularly awkward problem: <strong>The cache works, but continues to serve stale content after the underlying data changes.</strong></p>]]></content:encoded>
			<wfw:commentRss>https://www.the-mage-expert.com/3141/what-are-x-magento-tags/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Code Changes Are Not Applied</title>
		<link>https://www.the-mage-expert.com/3128/code-changes-are-not-applied/</link>
		<comments>https://www.the-mage-expert.com/3128/code-changes-are-not-applied/#comments</comments>
		<pubDate>Sun, 04 Oct 2026 06:43:31 +0000</pubDate>
		<dc:creator><![CDATA[Mex]]></dc:creator>
				<category><![CDATA[Magento Solutions]]></category>
		<category><![CDATA[bin/magento]]></category>
		<category><![CDATA[cache]]></category>
		<category><![CDATA[Compiler]]></category>
		<category><![CDATA[Debugging]]></category>
		<category><![CDATA[Magento 2]]></category>
		<category><![CDATA[Template Hints]]></category>

		<guid isPermaLink="false">https://www.the-mage-expert.com/?p=3128</guid>
		<description><![CDATA[If you change a PHP, XML or template file in Magento 2 and still see the old version after clearing the cache, it does not necessarily mean you edited the wrong file. Generated code, static assets, PHP OPcache, Varnish or&#8230;]]></description>
				<content:encoded><![CDATA[<p>If you change a PHP, XML or template file in Magento 2 and still see the old version after clearing the cache, it does not necessarily mean you edited the wrong file. Generated code, static assets, PHP OPcache, Varnish or a CDN may continue to serve old content.</p>
<p>For templates, <strong>Magento Template Hints</strong> can help you identify which <strong>.phtml</strong> template and block are actually used. Run the following command from the CLI and reload the storefront.</p><pre class="crayon-plain-tag">bin/magento dev:template-hints:enable</pre><p></p>
<p>For PHP classes, <strong>dev:di:info</strong> is useful because it identifies the active preference and plugins for a given class.</p><pre class="crayon-plain-tag">bin/magento dev:di:info 'Magento\Catalog\Block\Product\View'</pre><p></p>
<p>When changing PHP classes, preferences or plugins, you may also need to compile again, especially in Production Mode.</p><pre class="crayon-plain-tag">bin/magento setup:di:compile</pre><p></p>
<p>Magento regenerates proxies, factories and interceptors. Old generated code can therefore prevent changes from appearing even after clearing the cache.</p>
<p>Custom modules can also involve preferences and plugins that replace or intercept the class you expected to execute. Template overrides and Magento&#8217;s fallback mechanism add another layer, so a simple <strong>bin/magento cache:flush</strong> cannot fix every such issue.</p>
<p>If your changes still do not appear, first determine <strong>which code is actually running and which module or theme provides it.</strong>.</p>]]></content:encoded>
			<wfw:commentRss>https://www.the-mage-expert.com/3128/code-changes-are-not-applied/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Magento 2: Valkey Replaces Redis. Is Your Store Affected?</title>
		<link>https://www.the-mage-expert.com/3089/magento-2-valkey-replaces-redis-is-your-store-affected/</link>
		<comments>https://www.the-mage-expert.com/3089/magento-2-valkey-replaces-redis-is-your-store-affected/#comments</comments>
		<pubDate>Mon, 21 Sep 2026 21:11:11 +0000</pubDate>
		<dc:creator><![CDATA[Mex]]></dc:creator>
				<category><![CDATA[Magento Solutions]]></category>
		<category><![CDATA[cache]]></category>
		<category><![CDATA[Magento 2]]></category>
		<category><![CDATA[Magento 2.4.9]]></category>
		<category><![CDATA[Redis]]></category>
		<category><![CDATA[Valkey]]></category>

		<guid isPermaLink="false">https://www.the-mage-expert.com/?p=3089</guid>
		<description><![CDATA[With Magento 2.4.9, the supported caching infrastructure changes. Redis is no longer supported as a cache backend; Valkey 9 is the intended replacement. Magento can still use file-based caching, but stores currently using Redis need to review their configuration and&#8230;]]></description>
				<content:encoded><![CDATA[<p>With Magento 2.4.9, the supported caching infrastructure changes. <strong>Redis</strong> is <strong>no longer supported as a cache backend</strong>; Valkey 9 is the intended replacement. Magento can still use file-based caching, but stores currently using Redis need to <strong>review their configuration and switch to Valkey</strong>.</p>
<p><strong>Valkey is Redis compatible</strong>. Before upgrading Magento, check how cache and sessions are configured and whether your server is prepared for 2.4.9.</p>
<p>I can examine your Magento installation, explain whether you need Valkey changes and perform the necessary adjustments. <a href="https://www.the-mage-expert.com/contact/">get in touch</a> and I will review your store and server.</p>]]></content:encoded>
			<wfw:commentRss>https://www.the-mage-expert.com/3089/magento-2-valkey-replaces-redis-is-your-store-affected/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Unable to enable or disable the cache in the admin</title>
		<link>https://www.the-mage-expert.com/2779/unable-to-enable-or-disable-the-cache-in-the-admin/</link>
		<comments>https://www.the-mage-expert.com/2779/unable-to-enable-or-disable-the-cache-in-the-admin/#comments</comments>
		<pubDate>Fri, 15 Aug 2025 06:42:19 +0000</pubDate>
		<dc:creator><![CDATA[Mex]]></dc:creator>
				<category><![CDATA[Magento Solutions]]></category>
		<category><![CDATA[cache]]></category>
		<category><![CDATA[Magento 2]]></category>

		<guid isPermaLink="false">https://www.the-mage-expert.com/?p=2779</guid>
		<description><![CDATA[Since Magento 2.2, individual cache types can no longer be enabled or disabled directly from the admin area when the store is in Production Mode. You have two ways to handle this: 1. Switch to developer mode: [crayon-6af33ff74e83e/] Keep in&#8230;]]></description>
				<content:encoded><![CDATA[<p>Since Magento 2.2, individual cache types can no longer be enabled or disabled directly from the admin area when the store is in Production Mode. You have two ways to handle this:</p>
<p><strong>1. Switch to developer mode:</strong></p><pre class="crayon-plain-tag">php bin/magento deploy:mode:set developer</pre><p></p>
<p>Keep in mind that the store may be briefly unavailable while Magento regenerates code. <strong>The better way</strong>to enable or disable Magento 2 cache types is option 2:</p>
<p><strong>2. Caches direkt per CLI aktivieren / deaktivieren</strong></p><pre class="crayon-plain-tag">php bin/magento cache:status           # Show all cache types and their status, e.g. &quot;graphql_query_resolver_result&quot;
php bin/magento cache:enable &amp;lt;type&amp;gt;     # Enable one or more cache types
php bin/magento cache:disable &amp;lt;type&amp;gt;    # Disable one or more cache types
php bin/magento cache:clean            # Clear the Magento cache
php bin/magento cache:flush            # Flush other caches, such as Redis or filesystem caches</pre><p></p>
<p>Either of these two approaches lets you control the Magento 2 cache status.</p>]]></content:encoded>
			<wfw:commentRss>https://www.the-mage-expert.com/2779/unable-to-enable-or-disable-the-cache-in-the-admin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Clearing the cache from the command line (CLI)</title>
		<link>https://www.the-mage-expert.com/2005/clearing-the-cache-from-the-command-line-cli/</link>
		<comments>https://www.the-mage-expert.com/2005/clearing-the-cache-from-the-command-line-cli/#comments</comments>
		<pubDate>Wed, 12 Oct 2022 20:14:28 +0000</pubDate>
		<dc:creator><![CDATA[Mex]]></dc:creator>
				<category><![CDATA[Magento Solutions]]></category>
		<category><![CDATA[cache]]></category>
		<category><![CDATA[CLI]]></category>
		<category><![CDATA[Magento]]></category>

		<guid isPermaLink="false">https://www.the-mage-expert.com/?p=2005</guid>
		<description><![CDATA[To clear your Magento 1 cache from the command line (CLI), run the following command in the root directory of your Magento 1 installation: [crayon-6af33ff74eb28/]]]></description>
				<content:encoded><![CDATA[<p>To clear your Magento 1 cache from the command line (CLI), run the following command in the root directory of your Magento 1 installation:</p><pre class="crayon-plain-tag">php -r 'require &quot;app/Mage.php&quot;; Mage::app()-&gt;getCacheInstance()-&gt;flush();'</pre><p></p>]]></content:encoded>
			<wfw:commentRss>https://www.the-mage-expert.com/2005/clearing-the-cache-from-the-command-line-cli/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
