You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "shukitchan (via GitHub)" <gi...@apache.org> on 2023/04/11 14:49:48 UTC

[GitHub] [trafficserver] shukitchan commented on issue #9596: "Cache-Control" header and "Age" header are removed by ESI module

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

   Yes. the cache control header is removed - https://github.com/apache/trafficserver/blob/master/plugins/esi/esi.cc#L1111
   
   We can either add an option to stop it from happening. 
   Or you can use header_rewrite / lua plugin to add the cache control header back at the "send response header" hook. 


-- 
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: issues-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org