Try to remember what you ate for lunch yesterday.
It took you about 3-5 seconds, right?
Ok. Now recall that memory once more.
Took you less than a second this time, for sure.
You remembered much faster the second time around because you didn’t have to “query” that information again from your brain’s “storage”. The information was cached. The same principle applies to a website cache, but at a very basic level.