Create the cache for routing automatically