I have custom Magento Block (Featured Products) on HomePage. I'm also using FPC (+ Cm_Redis). I've made HolePunch to be independent from other parts of App.
<?xml version="1.0" encoding="UTF-8"?> <config> <placeholders> <company_home_page_featured_products> <block>package/package_product_list_simple</block> <placeholder>CMP_HOME_PAGE_FEATURED_PRODUCTS</placeholder> <container>Company_Package_Model_Container_Package_Product_List_Simple</container> <cache_lifetime>86400</cache_lifetime> </company_home_page_featured_products> </placeholders> </config>
The problem is that some products can change using API, other from Backend and I'd like to be able to refresh (flush) this block from Observer or just in Helper.
Could you help me how to perform this cache flush? I tried
... but without success.