HTTP: What is a cache?
30 October 2022 (Updated 9 October 2023)
On this page
In a nutshell
A cache is the local store of previous response messages and the system that manages its storage, retrieval, and deletion. Many components have to play well together for caching to work (e.g., web browser, origin server and the HTTP protocol).
Caches help reduce network response times and bandwidth consumption on future requests that are equivalent to previous requests.
Here’s how it works:
There are various HTTP headers that both user agents and origin servers can use to control caching behaviour.
Sources
Tagged:
HTTP
Thanks for your comment 🙏. Once it's approved, it will appear here.
Leave a comment