make client side cache configurable