Add clientSideCache configuration parameter

Implemented with minimal code changes.