I think this question is probably more directed at the guys from Expresso Store, but maybe there's someone else out there that has had to deal with something similar before and can point me in a direction.
We are using CE Cache to cache certain parts of our templates, including product data. We've set up cache breaking for when a product channel entry gets added/updated, no problem here, but because the Sales section of Store is outside of the channel entries view, the caching does not get refreshed again after a sale has been associated to a specific product. It is not really a nice solution for us to tell our client they have to go and edit a product again after creating a sale to break the cache.
The ideal for us would be if there's a hook that gets triggered by Expresso Store when a new sale/discount is created that I can just extend to clear the cache programmatically. Also ideally I would not want to hack Store self. I have looked at the documentation here, but most of the hooks look like they are related to the ordering process.
Any ideas?