improved stream cache