Exposing Cache configs too.

As it allows to dynamically resize the caches or shrink
them.