How cache objects are stored

Each cache object is saved as one file under hashed directories. Cache objects are identified by a Cache Key which has the following components:

  • HOST
  • URI
  • QUERY_STRING
  • Client IP
  • Session Cookies
  • Vary String

For a public cache object, the key is: HOST, URI, QUERY_STRING, and optionally a Vary String

For a private cache object, the key is: HOST, URI, QUERY_STRING, IP, Session Cookies, and optionally a Vary String

The Vary String can be set directly via a rewrite rule or fetched from a special cookie value.

  • Admin
  • Last modified: 2016/05/16 16:23
  • by Rob Holda