Skip to content
Opsfolk

Web servers and proxies, topic 30 of 78

Caching

The fastest request is one the application never sees. HTTP's Cache-Control headers say what may be kept and for how long; a caching proxy such as Varnish or Nginx, or a CDN, then answers from its copy.

Learn what makes a response safe to cache, how to expire it, and the classic mistake: caching a page that was meant for one signed-in user.

On Opsfolk

Nothing of ours for this topic yet: an article is on its way.

Elsewhere

Your progress