type option for pub/sub, cache type