Often I would like to be able to clear an entire area of cache at the same time. For instance, imagine clearing all cached inventory statuses for products when new products are added, goods are sent etc. You can probably build something like this by just storing an array that then stores all the objects, but I imagine this is suboptimal.
Does anyone have a nice solution with good performance to this problem?
↧