adding the ability to turn on and off client_caching