HTTP - Cache Store

About

A cache store is an http cache component that caches the http response if the cache control header permits it.

Type

There is two type of cache:

Key

The cache key is the identifier used to retrieve the resource in the cache store.

This is a grey area as browser/proxy may implements different logic but the following value are for sure part of the cache key:

With the Vary response header, you can specify additional request headers to go into the cache key. (Not all proxy, browsers implements it)

Url

The resource url was used as URL value but due to security concern, the URL key value used tends to be:

Note: When the resource requested is from the top-level -frame:

  • the top-level site
  • the current-frame site

are the same.

For example, a user navigate to

the url cache key value consists then of:

Http Cache Partitioning Example





Discover More
Chrome Devtool Network 304
304 - Not Modified HTTP Status

The 304 Not Modified indicates to the browser that the resource was not changed and that it can serve it from its cache
Firefox Browser Cache
Browser Cache - Management and usage

How to clear and manage the browser cache.
Data System Architecture
Data - Cache

In computer science, a data cache is a component that aims to: improve performance reduce load on the server. The cache will: store transparently a request response and use it to for later...
Expires HTTP header to control the response cache

Expires defines a date time that indicates when a response is stale for the response cache
HTTP - Cache (Cache-Control Header, Bursting, )

When sending a response, several headers have an influence / control over the cache store, we call them cache control headers The cache control header are: Name Description Cache-Control Define properties...
HTTP Caches - All the web caches layer explained on one page

Cache is an important tool for data performance but may be creepy when controlling data consistency. Why am I seeing an old version, is it my code or is it the cache ? This article lists all the possible...
HTTP Intermediate Cache Store / Proxy Cache

An intermediate cache store is a cache that is between the end user-agent and the server. It's called also a proxy cache
HTTP Vary Header

The vary header adds a header value to the HTTP cache key entry
Chrome Devtool Network 304
How to implement and check a Web / HTTP cache ?

Implementing and verifying that the HTTP cache is set and working properly is not a straightforward task. This article gives you a step by step.
The Cache-Control HTTP header

The cache control header is the most important header in the HTTP cache mechanism and permits to turn it on or off alongside other properties.



Share this page:
Follow us:
Task Runner