Allow configuration directives as caching group values, closes #976