Making sure caches will not be duplicated