You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by GitBox <gi...@apache.org> on 2021/09/08 06:27:28 UTC

[GitHub] [trafficserver] shukitchan commented on issue #8317: compress plugin not giving control to modify cached response before compression

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


   So you have a compress plugin used in plugin.config ? That's why that is always run before the lua script attached to the remap rule. 
   
   You can try to do the transform in lua added to the plugin.config . And make sure it is before the compress plugin in plugin.config. Also the entry function should be do_global_read_request() instead do_remap() when you are using lua script in plugin.config
   
   Also you then dont need to have the lua plugin and compress plugin in the remap rule.


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