Cache coherence or Cache coherency refers to a number of ways to make sure all the caches of the resource have the same data , and that the data in the caches makes sense ( called data integrity ) . Cache coherence is a special case of memory coherence . In computing , cache coherence ( also cache coherency ) refers to the consistency of data stored in local caches of a shared resource .