Simple stream caching.