[bugfix] honor exact resource name when removing resources from the cache