Added readonly-switch for cassandra-cache