switches caching to streams