Skip to main content

Module keys

Module keys 

Source
Expand description

What a cached thing is stored under.

Three shapes, all prefixed so a flush of the application’s own cache does not have to know about this one:

  • rl:mc:e:{table}:{key} — one entity.
  • rl:mc:q:{table}:{fingerprint} — one query’s result set.
  • rl:mc:g:{table} — the table’s generation counter.

Constants§

PREFIX

Functions§

entity
fingerprint
A 64-bit fingerprint of a statement and its bindings.
generation
query