Coding with SPIP 3.0
SPIP3.0 Technical Documentation

> > > Cache files

Cache files

A cache is a store of files that is used to accelerate data access. There are caches used internally in almost every part of a computer: in the microprocessors, on hard drives, in software, in PHP functions, etc. They make it possible for a given piece of data to be retrieved or calculated faster in the event that it is requested more than just a single time, whether it be a highly volatile storage system (like RAM memory), or a more permanent resource (like a hard drive).

A cache often has a limited life span, as for example, the time that it takes for a programme to run, or the time required to process a PHP function call. A validity period can also be assigned when the storage device delivers data that is more persistent - a web page can thereby tell a browser programme for how many hours a page will remain valid if that page is being held in the browser’s local cache.