cache vs repository

cache

noun
  • A fast temporary storage where recently or frequently used information is stored to avoid having to reload it from a slower storage medium. 

  • A container containing treasure in a global treasure-hunt game. 

  • A store of things that may be required in the future, which can be retrieved rapidly, protected or hidden in some way. 

verb
  • To place in a cache. 

  • To store data in a cache. 

repository

noun
  • a storage location for files, such as downloadable software packages, or files in a source control system. 

  • A person to whom a secret is entrusted. 

  • A burial vault. 

How often have the words cache and repository occurred in a corpus of books? (source: Google Ngram Viewer )