Hi all,

What's the best practice to change the origin server URL in remap plugins?

We're working on a dynamic plugin that can proxy certain requests to a
third party service and we're not sure what's the best solution.

Should we add a transaction plugin that changes the server url in the
TS_HTTP_SEND_REQUEST_HDR_HOOK event? Another option that has crossed our
mind it to set the cache key to the original url with TSCacheUrlSet, and
then change the client URL.

What do you think?

Cheers,
David

Reply via email to