HTTP - Cache Store

Table of Contents


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


There is two type of cache:


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)


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:

Powered by ComboStrap