Caching

Created By vladimir

A cache is a high-speed data storage layer that stores a subset of data in order to serve future requests for that data faster than accessing the data's primary storage location allows.

What is caching

In web development, caching is a way to speed up the response time of your application. When an user makes a request you store that data for the time another user makes the same request. Caching happens both at client level where it is managed by the browser and at server level.

Browser side Cache

Web browsers cache some parts of the responses based on the HTTP cache headers content. Resources such as javascript, css, images files are cached by the browsers and when an HTML document requires them the browser retrieves those from local storage.

Server side Cache

The data in a cache is usually stored in fast access hardware like RAM (Random-access memory), but it can also be used in conjunction with a software component. The primary goal of a cache is to improve data retrieval performance by reducing the need to access the slower storage layer beneath it.

Theoretical Children Concepts

A theoretical concept proposes a solution to a theoretical problem
add concept

There are no concepts yet. Help the community by adding one yourself!

Resources

Articles, tutorials, courses or books

Understanding Browser Caching

Feb. 1, 2021 by section.io Article

No reviews yet. Contribute
In this article, we will explore the basics of browser caching in web browsing and understand how it works. We will go through the main headers used in caching and highlight some of the limitations of this phenomenon. ---- The web browser will then store the web resources in a cache to improve your experience in the subsequent visit to the website. This is because the web browser will retrieve the static web resources like images, CSS, and JavaScript from the cache. Stale content means that its cache period has expired and it can only be retrieved from the web server. These headers are used to define the maximum time that web resources can be cached before expiring. This means that only the browser can cache the web resources. This header defines when the resources stored in the cache will expire.

The Internals of PostgreSQL : Introduction

Jan. 1, 2019 by Hironobu Suzuki Book

1 Reviews
For database administrators and system developers: this document describes the internals of PostgreSQL and is organized in chapters about each part