Add the cache invalidation feature.