Files
coredns/plugin
Miek Gieben 5735292406 Do Compress only when need in request.Scrub (#1760)
* Remove Compress by default

Set Compress = true in Scrub only when the message doesn not fit the
advertized buffer. Doing compression is expensive, so try to avoid it.

Master vs this branch
pkg: github.com/coredns/coredns/plugin/cache
BenchmarkCacheResponse-2   	   50000	     24774 ns/op

pkg: github.com/coredns/coredns/plugin/cache
BenchmarkCacheResponse-2   	  100000	     21960 ns/op

* and make it compile
2018-05-01 21:04:06 +01:00
..
2018-02-28 19:56:14 -08:00
2018-04-22 21:40:33 +01:00
2018-04-22 21:40:33 +01:00
2018-04-25 11:45:09 +01:00
2018-04-25 11:45:09 +01:00
2018-04-30 20:53:23 +01:00
2018-04-22 21:40:33 +01:00
2018-04-22 21:40:33 +01:00
2017-10-24 10:16:03 +01:00