WFLY-2159 Consolidate REPL and DIST cache configurations