在我最新的magento设置中,当我从管理员清除缓存时,它不会清除缓存,并且我的更改不会反映在前端。
当我从服务器中清除缓存目录时,我的更改开始反映。
是否有任何管理缓存清除功能不起作用。

最佳答案

Magento EE支持对此有一个修补程序。补丁号是1498_ee_1.13.0.0_v1
补丁在app/code/core/enterprise/pagecache/model/observer.php中添加了一个公共函数

public function flushCache()
{
    Enterprise_PageCache_Model_Cache::getCacheInstance()->flush();
    return $this;
}

还更改了app/code/core/enterprise/pagecache/etc/config.xml中的观察者方法
             <observers>
                 <enterprise_pagecache>
                     <class>enterprise_pagecache/observer</class>
-                        <method>cleanCache</method>
+                        <method>flushCache</method>
                 </enterprise_pagecache>
             </observers>
         </adminhtml_cache_flush_all>

关于magento - 在EE 1.13中,来自Admin的清除缓存实际上并不清除缓存,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/21013695/

10-13 08:05
查看更多