output caching via config