josemrs opened a new issue, #11573: URL: https://github.com/apache/apisix/issues/11573
### Description We'd like to be able to set the proxy_ignore_headers in the [proxy-cache config block](https://github.com/apache/apisix/blob/master/apisix/cli/ngx_tpl.lua#L773) Use case: We want to cache responses no matter what's in the Cache-Control header so we need to set `proxy_ignore_headers Cache-Control;` Ideally this should be per route, as we configure the proxy-cache plugin per route. Our deployment relies in K8S APISIXRoute resources for configuration so I assume this will affect some other layers apart from the LUA tpl. We have tested this in a live system by tweaking the nxg_tpl.lua file and reloading the config. After reloading the config the cache started HIT'ing just fine, whole before it was always MISS'ing -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
