What is the role of a cache in networking?
A cache stores frequently accessed data to reduce the time it takes to retrieve it, improving performance by minimizing the need to repeatedly fetch data from the source.