Caching Fundamentals
Caching is the act of storing a copy of a resource to serve it faster later. It is the single most effective way to make websites feel "instant".
Think of it like this: Imagine you need a hammer from the hardware store (the server) which is 30 mins away. After you use it, you put it in your toolbox (the cache). Next time you need it, you just reach into the toolbox in 1 second instead of driving for 30 mins.
Step 1 of 2
The Benefits
Caching reduces bandwidth costs, lowers server load, and dramatically improves the user experience by eliminating network latency.
Cache Hit vs Miss
When the browser finds a valid copy in its storage, it's a "Cache Hit". If it doesn't find it or the copy is too old, it's a "Cache Miss" and it must go to the server.
Study kit
Module 8 of 18
Beginner · 3 min · 0 of 18 complete
Module status
Not completed yet
Notessaved locally+
Notes stay in this browser. They are not uploaded.
Suggest an editLearning graph
Prerequisites
Discussion
Loading discussion…
Sign in to ask a question.