In Magento CE 1.4.1.1, I have added block cache to product view page. So the frontend product page will be cached after first visit, so far so good.
however, I found that even if someone purchased that product, the block cache was not flushed. This is not good because then in the frontend, the product page will show wrong inventory/stock information, also no way to show alert message once the product page is cached. (seems like the product block cache is only flushed when I save the product in backend admin)
1) any expert can show how to flush the block cache for a particular product?
2) along the same line, if I want to cache category page since I am using ajax layered navigation (and ajax paging, ajax sort order), how to add exclude cache condition on the above areas?
Thanks