繁体   English   中英

在EE 1.13中,来自Admin的清除缓存实际上并不清除缓存

[英]In EE 1.13 clearing cache from Admin does not actually cleans the cache

在我最新的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>

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM