Caching Overview
Caching can refer to many concepts. The general meaning of cache is to store a copy of something to prevent the necessity of retrieving it again. When speaking of Web development, there are three main types of caching:
Caching on the server— Storing a complete or partially generated resource on the server to keep from having to regenerate it.
Caching on the client— Storing a resource on the client to keep from having to receive the entire resource again.
Proxy caching— Storing a resource on a proxy to allow direct replies to an HTTP request rather than having to receive the entire resource from the origin server again.
Although there are many side advantages to caching, there are three core benefits:
Improve response time ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access