The word comes from the French cache, "hidden", via the 19th-century sense of a hidden store of goods; the software sense appeared in the 1960s.
In French, cache means "hidden". In 19th-century English, a cache was a hidden store of provisions, ammunition or valuables — a place where something is concealed for later use. That physical sense survived into computing: a cache is a hidden store that holds copies of data for later retrieval. The IBM System/360 Model 85 (1968) shipped with a cache memory between the CPU and main memory, and the term became standard. Memoization in Lisp (1960s) applied the same idea to function results. HTTP caching arrived with the web in the 1990s and was formalised in the RFC series.
There are only two hard things in Computer Science: cache invalidation and naming things.
— Phil Karlton, attributed, 1996