缓存(cache):把常用数据存储到可以快速获取的区域(缓存区),以备重复利用,提高效率。
缓冲(buffer):在数据流转过程中,不同层次数据速度不一致时,利用缓冲区来缓解上下层之间速度问题。增加速度。