简体   繁体   English

Magento 不会自动刷新静态块缓存

[英]Magento does not refresh static block cache automatically

I am using Magento 1.9.2 and I am facing static block cache problem.我正在使用 Magento 1.9.2 并且我正面临静态块缓存问题。 How this problem raises, is given below in steps.这个问题是如何引起的,下面分步骤给出。 (As I am new to magento so please try to understand what I want to say, may be my words are different) (因为我是 magento 的新手,所以请尽量理解我想说的,可能是我的措辞不同)

I have three pages with three categories Women, Men, Kids.我有三页,分为三个类别女性,男性,儿童。 On every category detail page I assigned two static blocks to show banners and offers relative to the category.在每个类别详细信息页面上,我分配了两个静态块来显示与类别相关的横幅和优惠。 If I open first time (lets say) women category page, it shows me all banners related to women category but when I open men or kids page it doesn't show me relative content instead it shows me women category.如果我第一次打开(比方说)女性类别页面,它会向我显示与女性类别相关的所有横幅,但是当我打开男性或儿童页面时,它不会向我显示相关内容,而是向我显示女性类别。 When I flush magento cache and reload the page it shows me right content but when I travel to other page it shows me again old or non related content.当我刷新 magento 缓存并重新加载页面时,它会向我显示正确的内容,但是当我前往其他页面时,它会再次向我显示旧的或不相关的内容。

I followed many articles to over ride this problem but failed, mainly I tried;我跟着很多文章来克服这个问题但失败了,主要是我尝试过;

https://magento.stackexchange.com/questions/71705/cms-block-caching-issue-in-ee-1-14-2 https://magento.stackexchange.com/questions/71705/cms-block-caching-issue-in-ee-1-14-2

http://blog.gaiterjones.com/magento-1-9-2-0-ce-static-block-cache-bug/ (cache is important for me when following this link instructions) http://blog.gaiterjones.com/magento-1-9-2-0-ce-static-block-cache-bug/ (按照此链接说明进行缓存对我很重要)

Any help from SO! SO的任何帮助!

这是 magento 中一个非常常见的问题,您只需要从以下链接下载此扩展程序,并在 app/etc/modules/Milopole_Cms.xml https://www.milople.com/blogs/ecommerce/solved-magento中将其设置为 true -static-block-display-issue.html

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

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