A cache is a high-speed data storage layer used in computing that keeps a subset of data, often of a temporary nature, to respond to requests for that data more quickly than it would be able to do so by accessing the data's primary storage location.