HTTP Caching — How does it work step by step?

Two-players: browser and origin server

Cache-Control from the server

Cache-Control from the browser

Conditional requests from the browser

If-Modified-Since

If-None-Match

# Strong ETag
"33a64c34d8d3832b4ac257297d23d99"
# Weak ETag
W/"33a64c34d8d3832b4ac257297d23d99"

Three-players: Browser, proxy server, and origin server

Cache-Control from the origin server

Cache-Control from the browser

Let’s put everything together

Further reading

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store