Web Caching 101

What Is Caching?

Caching is the term for storing reusable data in order to make subsequent requests faster. There are many different types of caching available, each of which has its own characteristics. Application caches and memory caches are both popular for their ability to speed up certain responses. Browsers like Chrome have already done a lot for us actually on caching content in memory and disk. In this article we will be discussing Web caching - a core design feature of the HTTP protocol meant to minimize network traffic while improving the perceived responsiveness of the system as a whole.

Benefits

Terminology

Locations Where Web Content Is Cached

Validating cached responses with ETags

Cache-Control

How Cache-Control Flags Impact Caching

Defining optimal Cache-Control policy

refs