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-05-01 21:04:06 +01:00
2018-04-25 11:43:56 -04:00
2018-02-28 19:56:14 -08:00
2018-05-01 21:04:06 +01:00
2018-04-22 08:34:35 +01:00
2018-04-19 07:41:56 +01:00
2018-03-01 06:49:52 -08:00
2018-04-27 19:37:31 +01:00
2018-04-22 21:40:33 +01:00
2018-05-01 21:04:06 +01:00
2018-04-22 08:34:35 +01:00
2018-05-01 21:04:06 +01:00
2018-05-01 21:04:06 +01:00
2018-05-01 21:04:06 +01:00
2018-05-01 21:04:06 +01:00
2018-04-26 08:44:33 +01:00
2018-05-01 21:04:06 +01:00
2018-05-01 21:04:06 +01:00
2018-04-22 21:40:33 +01:00
2018-04-22 08:34:35 +01:00
2018-04-25 11:45:09 +01:00
2018-04-22 08:34:35 +01:00
2018-04-25 11:45:09 +01:00
2018-04-30 20:53:23 +01:00
2018-05-01 21:04:06 +01:00
2018-04-22 21:40:33 +01:00
2018-05-01 21:04:06 +01:00
2018-04-27 07:05:44 +01:00
2018-04-22 21:40:33 +01:00
2018-05-01 21:04:06 +01:00
2018-02-16 09:44:50 +01:00
2018-05-01 21:04:06 +01:00
2018-04-22 08:34:35 +01:00
2018-04-19 07:41:56 +01:00
2018-04-25 15:27:25 +01:00
2018-05-01 21:04:06 +01:00
2018-05-01 21:04:06 +01:00
2018-04-22 08:34:35 +01:00
2017-10-24 10:16:03 +01:00
2018-01-23 15:58:36 +00:00
2018-04-22 08:34:35 +01:00