caddy/caddyhttp/proxy
Tw beae16f07c Proxy performance (#946)
* proxy: add benchmark

Signed-off-by: Tw <tw19881113@gmail.com>

* replacer: prepare lazily

update issue#939

benchmark            old ns/op     new ns/op     delta
BenchmarkProxy-4     83865         72544         -13.50%

Signed-off-by: Tw <tw19881113@gmail.com>

* proxy: use buffer pool to avoid temporary allocation

Signed-off-by: Tw <tw19881113@gmail.com>
2016-07-20 19:06:14 -06:00
..
policy_test.go Test that the host header forwarding on the proxy middleware 2016-06-29 16:52:31 -07:00
policy.go Refactor and clean up policy code 2016-06-18 15:41:18 -05:00
proxy_test.go Proxy performance (#946) 2016-07-20 19:06:14 -06:00
proxy.go improve transparent mode 2016-07-14 18:16:58 -03:00
reverseproxy.go Proxy performance (#946) 2016-07-20 19:06:14 -06:00
setup_test.go Refactor how caddy.Context is stored and used 2016-06-20 11:59:23 -06:00
setup.go Refactor how caddy.Context is stored and used 2016-06-20 11:59:23 -06:00
upstream_test.go improve transparent mode 2016-07-14 18:16:58 -03:00
upstream.go Small changes; mostly comments 2016-07-18 14:32:28 -06:00