Controlling Positive and Negative Caching