We've got a few websites using this module, which works brilliantly.
The only issue we have with it is during sale time, where we can get some performance problems with cache thrashing.
During a sale we would normally have lots of products moved to a top level category called Sale (so for example Sale/Men, Sale/Women, Sale/Men/Shirts... etc etc.)
This issue this presents is that during high load, any sale of a product causes the cache to be cleaned all the way up to the top category "Sale" - which means this page is constantly being knocked out of the cache and re-generated.
Would it be possible to build in a way to only clear the cache for product page/categories if the "isSaleable" or similar changes?
The module listens on cataloginventory_stock_item_save_after and calls Phoenix_VarnishCache_Model_Observer::purgeCatalogProductByStock. I'm sure this can be easily adjusted for your needs.
Hi there,
We've got a few websites using this module, which works brilliantly.
The only issue we have with it is during sale time, where we can get some performance problems with cache thrashing.
During a sale we would normally have lots of products moved to a top level category called Sale (so for example Sale/Men, Sale/Women, Sale/Men/Shirts... etc etc.)
This issue this presents is that during high load, any sale of a product causes the cache to be cleaned all the way up to the top category "Sale" - which means this page is constantly being knocked out of the cache and re-generated.
Would it be possible to build in a way to only clear the cache for product page/categories if the "isSaleable" or similar changes?
Thanks Mike