A cache algorithm is a detailed list of instructions that decides which items should be discarded in a computer's cache of information.