I am looking for someone that is familiar with Magento and Full Page Caching Modules. I have installed a Full page Cache Module on my site, and I am having an issue with the shopping cart part of my website in the top header that should be dynamic. It looks like we have to add some code where we want to keep certain parts dynamic.
I spoke to the developer of the Cache module and he said the following:
In general my module has "processors" for the cart sidebar and the toplinks.
Regarding your question howto exclude dynamic parts:
It's very easy, you only have to add a placeholder in every block that should be dynamic like:
<!--wishlist_sidebar_start-->wishlist sidebar<!--wishlist_sidebar_end-->
After loading the page from the cache, the placeholders are replaced with a "processor".
How to define a new processor for a new dynamic block?
Just edit Wee/Fpc/etc/[login to view URL] and add a processor for a dynamic part:
<content_processors>
<cart_link>Wee_Fpc_Model_Processor_CartLink</cart_link>
<cart_sidebar>Wee_Fpc_Model_Processor_CartSidebar</cart_sidebar>
<login_logout>Wee_Fpc_Model_Processor_LoginLogout</login_logout>
<welcome_message>Wee_Fpc_Model_Processor_WelcomeMessage</welcome_message>
<product_compare>Wee_Fpc_Model_Processor_ProductCompare</product_compare>
<wishlist_link>Wee_Fpc_Model_Processor_WishlistLink</wishlist_link>
<wishlist_sidebar>Wee_Fpc_Model_Processor_WishlistSidebar</wishlist_sidebar>
</content_processors>
Please bid if you understand what needs to be done.