tests/e2e: add HTTP response cache e2e tests

This commit is contained in:
ginuerzh
2026-07-26 18:14:03 +08:00
parent 5204d6285e
commit 5a1a799848
6 changed files with 379 additions and 0 deletions
@@ -0,0 +1,23 @@
caches:
- name: http-cache
memory:
ttl: 10m
maxSize: 1000
services:
- name: cache-proxy
addr: :8080
cache: http-cache
handler:
type: tcp
metadata:
sniffing: true
sniffing.timeout: 2s
cache.ttl: 3s
cache.serveStale: true
listener:
type: tcp
forwarder:
nodes:
- name: target
addr: cache-servestale:5676