adding simple cache invalidation.