cache yaml rather than loading on each request