buildKey(key)

Builds a key.

You might ask, why there is such a method when you already provide a key? Well, this has been partially answered in keys docs.

Arguments

  1. key (string): A string used to store an item under in cache.

Returns

(string): Built key.

Example

const key = adapter.buildKey('key');

Last updated