From 5325a4a22d597fb8249810e8aa5bfeff4d825ccb Mon Sep 17 00:00:00 2001 From: Alexander Herbel Date: Fri, 22 Jan 2016 16:18:32 +0100 Subject: [PATCH] Fixed issue with cached pages and message block After debugging an issue with session messages, I've found out that the sort order in dynamic blocks is very important and which had a great impact to my problem and solved my issue. I guess the problem is that only "global_messages" block is used in the templates. But in the FPC_Observer preparedLayout function all session messages are set to the "messages" block, because its the on the first position in the dynamic_block list. But the "messages" block is used nowhere. So I just switched the positions between "messages" and "global_messages" and everything works fine for me now. --- app/code/community/Lesti/Fpc/etc/config.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/code/community/Lesti/Fpc/etc/config.xml b/app/code/community/Lesti/Fpc/etc/config.xml index 8c87ca9..2861164 100644 --- a/app/code/community/Lesti/Fpc/etc/config.xml +++ b/app/code/community/Lesti/Fpc/etc/config.xml @@ -208,8 +208,8 @@ cms_page_view, catalog_product_view, catalog_category_view]]> -