在我最新的 magento 设置中,当我从管理员那里清除缓存时,它并没有清除缓存,我的更改也没有反射(reflect)在前端。
当我从服务器清除缓存目录时,我的更改开始生效。
是否存在管理缓存清理功能无法正常工作的问题。
最佳答案
Magento EE 支持确实有一个补丁。补丁号为1498_EE_1.13.0.0_v1
补丁在app/code/core/Enterprise/PageCache/Model/Observer.php中添加了一个public函数
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 中,从管理员清除缓存实际上并没有清除缓存,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21013695/