Stanford CS107 Lecture 25: Caching, Memory Hierarchy, and Locality
CS107 Lecture 25 builds the essential cache model from a concise deck: memory access costs are nonuniform, smaller and faster layers retain data likely to be reused, and temporal and spatial locality determine whether a program benefits.