GordonLesti / Lesti_Fpc

Simple Magento Fullpagecache
https://gordonlesti.com/lesti-fpc-documentationversion-1-4-5/
Other
358 stars 159 forks source link

Blocks are sometimes empty after a while #308

Open lileydevelop opened 6 years ago

lileydevelop commented 6 years ago

We have an imprint page in Magento (1.9.2.3) with content from an extension (german market ready):

[Edit CMS page->] ... {{block type="magesetup/imprint_field" value="shop_name"}} {{block type="magesetup/imprint_content" template="magesetup/imprint/address.phtml"}} {{block type="magesetup/imprint_content" template="magesetup/imprint/communication.phtml"}} {{block type="magesetup/imprint_content" template="magesetup/imprint/legal.phtml"}} {{block type="magesetup/imprint_content" template="magesetup/imprint/tax.phtml"}} {{block type="magesetup/imprint_content" template="magesetup/imprint/bank.phtml"}} {{block type="magesetup/imprint_field" value="business_rules"}} ... Now this is fine with LESTI-FPC-Cache (v.1.4.9) and the page are ok. But after a while this page gets emtpy on these fields, only the text in the CMS-Page remain. When I refresh the Cache it is back. Do you have an idea how to fix it?

GordonLesti commented 6 years ago

Hello, as the FPC can only cache what Magento responses, I guess the rendering of the blocks seems to return empty HTML in the moment of caching. Is your block cache always valid?