Generating dynamic cache keys with variables
Introduction
How it works
[
{
"id": 1000000001,
"first_name": "Jane",
"last_name": "Smith",
"items": {
"itemref": "0000001",
"item1": "apples",
"item2": "oranges",
"item3": "pears"
}
},
{
"id": 1000000002,
"first_name": "George",
"last_name": "Jones",
"items": {
"itemref": "0000002",
"item1": "tangerines",
"item2": "peaches",
"item3": "grapes"
}
},
{
"id": 1000000003,
"first_name": "Bob",
"last_name": "Brown",
"items": {
"itemref": "0000003",
"item1": "nectarines",
"item2": "raspberries",
"item3": "strawberries"
}
},
{
"id": 1000000004,
"first_name": "Marjorie",
"last_name": "Simpson",
"items": {
"itemref": "0000004",
"item1": "blueberries",
"item2": "cranberries",
"item3": "apricots"
}
}
]Action
Outcome
Need to know
Using a variable to generate dynamic cache keys



Loading data from a cache
Last updated
Was this helpful?

