shukitchan commented on issue #9596: URL: https://github.com/apache/trafficserver/issues/9596#issuecomment-1506007541
I can't quite remember why we did that in the first place. Perhaps we want to later add a private cache control header. ESI plugin added a transaction hook to remove these headers - https://github.com/apache/trafficserver/blob/master/plugins/esi/esi.cc#L1426 So if you use lua, you need to have the lua plugin after ESI plugin and also adds a transaction hook for TS_LUA_HOOK_SEND_RESPONSE_HDR at the do_global_send_response() function Lua is not aware of ESI at all so there is no way to retrieve the sub document headers. We can add a new options at next version or any contributions are welcome as well. -- 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]
