static class config cache

part of https://github.com/cargomedia/sk/issues/757