Adding some more configuration options for caching.