Client-side caching
Let's continue with another Faster Web technology, which is client-side caching. This form of HTTP caching focuses on reducing the number of requests needed to render a page in order to avoid network latency as much as possible. Indeed, large responses often need many roundtrips over the network. HTTP client-side caching tries to minimize the number of these requests in order to complete the page's rendering. Nowadays, all major browsers offer support for these techniques and enabling these technologies on your website is as easy as sending a few additional headers or using library files that are already available on Content Delivery Networks (CDNs). Let's have a look at these two techniques: browser caching headers and CDNs.
Browser caching
Browser caching is based on the idea that it is not necessary to fetch all the files included in a response if some of these are exactly the same over a certain period of time. The way it works is through headers that are sent by the...