remove caching of api directory