use a cache so that the API registry is really fast and immediate

use a cache so that the API registry is really fast and immediate