The Cache API lets a website save responses for URLs, so they can be loaded again later without asking the server. It is a key part of how offline websites and service workers work.
This playground gives you your own real cache. You store a response for a URL, then try to match it again, so you can see a cache hit and a cache miss for yourself.
Write one command per line: PUT a URL and a body, MATCH a URL, DELETE a URL, or LIST all entries. Lines starting with # or // are comments.
The commands use the real caches API with real Request and Response objects. Each playground uses its own named cache, so it never touches anything else stored by this site.
It is a browser API for saving pairs of requests and responses, so a website can reuse a response later instead of downloading it again.
No. The HTTP cache is managed by the browser automatically. The Cache API is controlled by the website's own code, which decides what to store and when to remove it.
No. Service workers often use the Cache API, but normal page code can use it too, which is what this playground does.