add caching to app config and mapping