How can I clear the cache on a single category? When FPC (Full page cache) is turned on, display out of stock items is turned off, and a product is sold out, the category page still shows the product (with no "out of stock" message). When the user clicks on to the page, the product is still listed as in-stock. I've added an observer to clear cache on the product and that has resolved the product page. However, I can't seem to clear the cache for the category pages. Here is what I've tried so far:
I tried this based on what was in the Mage_Catalog_Model_Category::move method:
Mage::app()->cleanCache(array(Mage_Catalog_Model_Category::CACHE_TAG));
but that looks like it should clear the cache of all categories (Doesn't seem to work when I use it). I want something that would allow me to clear the cache of category_id=123.
I also tried:
Mage::app()->cleanCache('catalog_category'.$category_id);
but that didn't seem to do anything at all either (NOTE 'catelog_category' is the value of Mage_Catalog_Model_Category::CACHE_TAG).