david187 commented on issue #9596:
URL: https://github.com/apache/trafficserver/issues/9596#issuecomment-1504829629

   The reason of remove these headers is?
   
   I can access and copy the "Cache-Control" header as "X-Cache-Control" during 
TS_LUA_HOOK_READ_RESPONSE_HDR hook.
   However, if i restore the "X-Cache-Control" as "Cache-Control" during 
TS_LUA_HOOK_SEND_RESPONSE_HDR. it will be removed. ( Although I can restore at 
the upper layer) 
   
   However, the age header seem can not access by ts.cached_response.header / 
ts.server_response.header in lua plugin. I think it is useful for multiple 
layer caching.
   
   Temporarily, I am trying to add a timestamp header to calculate the age.
   
   ===
   > We can either add an option to stop it from happening.
   can add a new options at next version?


-- 
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]

Reply via email to