Add example of config file cache config.

Fixes #1817