Files
RustProxy/tools/dev/fixtures/vcl_regression/ttl_grace.candidate.json
T
2026-11-25 15:47:34 +01:00

254 lines
5.4 KiB
JSON

{
"status": 200,
"body": {
"rules": [
{
"actions": [],
"conditions": [],
"enabled": true,
"id": "vcl-response-2",
"match": "all",
"name": "VCL vcl_backend_response branch line 2",
"stage": "response",
"vcl_flow": {
"branches": [
{
"any": [
[
{
"field": "url",
"operator": "regex",
"values": [
"^/ttl"
]
}
]
]
}
],
"count": 8,
"group": "g1",
"index": 0,
"version": 1
}
},
{
"actions": [
{
"seconds": 2,
"type": "ttl"
},
{
"seconds": 0,
"type": "grace"
}
],
"conditions": [],
"enabled": true,
"id": "vcl-response-3",
"match": "all",
"name": "VCL vcl_backend_response line 3",
"stage": "response",
"vcl_flow": {
"count": 8,
"group": "g1",
"guards": [
{
"branch": 0,
"entry": 0
}
],
"index": 1,
"version": 1
}
},
{
"actions": [],
"conditions": [],
"enabled": true,
"id": "vcl-response-6",
"match": "all",
"name": "VCL vcl_backend_response branch line 6",
"stage": "response",
"vcl_flow": {
"branches": [
{
"any": [
[
{
"field": "url",
"operator": "regex",
"values": [
"^/grace"
]
}
]
]
}
],
"count": 8,
"group": "g1",
"index": 2,
"version": 1
}
},
{
"actions": [
{
"seconds": 2,
"type": "ttl"
},
{
"seconds": 3,
"type": "grace"
}
],
"conditions": [],
"enabled": true,
"id": "vcl-response-7",
"match": "all",
"name": "VCL vcl_backend_response line 7",
"stage": "response",
"vcl_flow": {
"count": 8,
"group": "g1",
"guards": [
{
"branch": 0,
"entry": 2
}
],
"index": 3,
"version": 1
}
},
{
"actions": [],
"conditions": [],
"enabled": true,
"id": "vcl-response-10",
"match": "all",
"name": "VCL vcl_backend_response branch line 10",
"stage": "response",
"vcl_flow": {
"branches": [
{
"any": [
[
{
"field": "url",
"operator": "regex",
"values": [
"^/validation-no-store"
]
}
]
]
}
],
"count": 8,
"group": "g1",
"index": 4,
"version": 1
}
},
{
"actions": [
{
"seconds": 2,
"type": "ttl"
},
{
"seconds": 0,
"type": "grace"
}
],
"conditions": [],
"enabled": true,
"id": "vcl-response-11",
"match": "all",
"name": "VCL vcl_backend_response line 11",
"stage": "response",
"vcl_flow": {
"count": 8,
"group": "g1",
"guards": [
{
"branch": 0,
"entry": 4
}
],
"index": 5,
"version": 1
}
},
{
"actions": [],
"conditions": [],
"enabled": true,
"id": "vcl-response-13",
"match": "all",
"name": "VCL vcl_backend_response branch line 13",
"stage": "response",
"vcl_flow": {
"branches": [
{
"any": [
[
{
"field": "status",
"operator": "equals",
"values": [
"304"
]
}
]
]
}
],
"count": 8,
"group": "g1",
"guards": [
{
"branch": 0,
"entry": 4
}
],
"index": 6,
"version": 1
}
},
{
"actions": [
{
"type": "no_store"
}
],
"conditions": [],
"enabled": true,
"id": "vcl-response-13-2",
"match": "all",
"name": "VCL vcl_backend_response line 13",
"stage": "response",
"vcl_flow": {
"count": 8,
"group": "g1",
"guards": [
{
"branch": 0,
"entry": 4
},
{
"branch": 0,
"entry": 6
}
],
"index": 7,
"version": 1
}
}
],
"warnings": []
}
}