fix(cache-control): emit standard max-age Cache-Control directive (#4118)

Signed-off-by: Anas Khan <83116240+anxkhn@users.noreply.github.com>
This commit is contained in:
Anas Khan
2026-07-17 16:12:30 +05:30
committed by GitHub
parent 45942d90b6
commit e01db53e9f
5 changed files with 11 additions and 11 deletions

View File

@@ -49,7 +49,7 @@ var WasmPluginCacheControl = suite.ConformanceTest{
ExpectedResponse: http.Response{
StatusCode: 200,
Headers: map[string]string{
"Cache-Control": "maxAge=3600",
"Cache-Control": "max-age=3600",
},
},
},

View File

@@ -45,4 +45,4 @@ spec:
configDisable: false
ingress:
- higress-conformance-infra/wasmplugin-cache-control
url: oci://higress-registry.cn-hangzhou.cr.aliyuncs.com/plugins/cache-control:2.0.0
url: file:///opt/plugins/wasm-go/extensions/cache-control/plugin.wasm