|
The cache filter currently supports only one object with store/use values. An array of store/use values would allow more precise caching rules.
Here is the example JSON that would allow the definition of multiple rules in a single file.
[
|
{
|
"store": [
|
{
|
"attribute": "table",
|
"op": "=",
|
"value": "test.t1"
|
}
|
],
|
"use": [
|
{
|
"attribute": "user",
|
"op": "=",
|
"value": "'bob'@'%'"
|
}
|
]
|
},{
|
"store": [
|
{
|
"attribute": "table",
|
"op": "=",
|
"value": "test.t2"
|
}
|
],
|
"use": [
|
{
|
"attribute": "user",
|
"op": "=",
|
"value": "'alice'@'%'"
|
}
|
]
|
}
|
]
|
|