shouldn't you check it before building the key ? You don't need the key if it is not a cached one