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

115 lines
2.3 KiB
JSON

{
"status": 200,
"body": {
"rules": [
{
"actions": [
{
"seconds": 2,
"type": "ttl"
},
{
"seconds": 0,
"type": "grace"
}
],
"conditions": [
{
"field": "url",
"operator": "regex",
"values": [
"^/ttl"
]
}
],
"enabled": true,
"id": "vcl-response-3",
"match": "all",
"name": "VCL vcl_backend_response line 3",
"stage": "response"
},
{
"actions": [
{
"seconds": 2,
"type": "ttl"
},
{
"seconds": 3,
"type": "grace"
}
],
"conditions": [
{
"field": "url",
"operator": "regex",
"values": [
"^/grace"
]
}
],
"enabled": true,
"id": "vcl-response-7",
"match": "all",
"name": "VCL vcl_backend_response line 7",
"stage": "response"
},
{
"actions": [
{
"seconds": 2,
"type": "ttl"
},
{
"seconds": 0,
"type": "grace"
}
],
"conditions": [
{
"field": "url",
"operator": "regex",
"values": [
"^/validation-no-store"
]
}
],
"enabled": true,
"id": "vcl-response-11",
"match": "all",
"name": "VCL vcl_backend_response line 11",
"stage": "response"
},
{
"actions": [
{
"type": "no_store"
}
],
"conditions": [
{
"field": "url",
"operator": "regex",
"values": [
"^/validation-no-store"
]
},
{
"field": "status",
"operator": "equals",
"values": [
"304"
]
}
],
"enabled": true,
"id": "vcl-response-13",
"match": "all",
"name": "VCL vcl_backend_response line 13",
"stage": "response"
}
],
"warnings": []
}
}