GordonLesti / Lesti_Fpc

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

Question header.welcome #260

Closed Mic2005 closed 7 years ago

Mic2005 commented 7 years ago

Hi @GordonLesti you wrote in #214 .... NEVER put a block into dynamic and lazy, only one.

We updated to the last version today because every customer see my testaccount name at the frontend :( I see in my config that there are 5 (!) actions standing into Lazy and Dynamic Blocks. Is this wrong? What to put where?

image

image

Hope you can advice me.

Thanks

GordonLesti commented 7 years ago

Hello @Mic2005 yes. A block should be only in Lazy XOR Dynamic blocks, but never in both. Maybe this post can help you to understand the main difference between those types. If you aren't sure what to choose, dynamic blocks works in the most cases, lazy depends much on the actions that refreshes the blocks.

Mic2005 commented 7 years ago

Thanks for your quick response Gordon. I have read the post and removed some actions in Dynamic Blocks because in your example I saw those actions set in Lazy Blocks. I think my previous hoster did some tuning in fpc :(

GordonLesti commented 7 years ago

I hope your problem is solved now. You are welcome.

GordonLesti commented 7 years ago

The basket seems to work for me. What does not work?

Mic2005 commented 7 years ago

Go to the homepage. Strange that it's only on the homepage and not in the categories.

image

GordonLesti commented 7 years ago

What Magento version did you run?

Mic2005 commented 7 years ago

1.9.2.4 and your last FPC version and Ultimo template

Mic2005 commented 7 years ago

If i switch the fpc off in magento cache this issue is gone.

GordonLesti commented 7 years ago

Please contact me via email or everybody will unwatch the issues in future :)

Mic2005 commented 7 years ago

ok

Mic2005 commented 7 years ago

Added "welcome" to Dynamic Blocks. Looked at xml for blockname: app/design/frontend/(template)/(template)/layout/local.xml <block type="page/html_welcome" name="welcome" as="welcome"/>