GordonLesti / Lesti_Fpc

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

Fixed issue with cached pages and message block #183

Closed alexherbs closed 8 years ago

alexherbs commented 8 years ago

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.

riconeitzel commented 8 years ago

@GordonLesti der hier ist auch okay, obwohl travis gecrasht ist … travis hat sich aber an einem Befehl verschluckt, nicht am Code.

GordonLesti commented 8 years ago

@alexherbs thank you very much for your work. @riconeitzel thank you again for checking and reminding me.