From the course: Improving Performance with IndexedDB and Caching

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

What is caching?

What is caching? - JavaScript Tutorial

From the course: Improving Performance with IndexedDB and Caching

Start my 1-month free trial

What is caching?

- In this chapter, we're going to talk about Caching. So what is Caching? The general idea is that it's quick access data storage. Any data which you access regularly or repeatedly can be stored in a Cache to improve performance when accessing that data. This means less processing. And when talking about Front-End Caching that results in less HTTP overhead. It can also mean less load on your server even if you don't have any server side scripts. As a rough guide to how this works on the Front-End. First, your application makes a request to the server for a resource. The server responds with the requested resource in the HTTP Response. If we are caching that resource, then the response is stored in the Cache on its way back to the browser. This means the next time the application requests that resource, it can first check the Cache for it, So it doesn't have to go across the network to get it. Browsers do…

Contents