Basic cache and config handler.