request help: The proxy-cache plugin overrides Cache-Control
in upstream header.
#3373
Labels
good first issue
Good for newcomers
Cache-Control
in upstream header.
#3373
Issue description
The proxy cache plugin overrides the Cache Control in the upstream header, even if the plugin is not used in the route.
apisix/apisix/cli/ngx_tpl.lua
Lines 511 to 536 in e3601e6
Disabling the plugin in
config.yml
solves this problem, but some routes need to enable the plugin. How should I preserve the Cache Control in the upstream header with the proxy cache plugin globally enabled?Environment
The text was updated successfully, but these errors were encountered: