chrnx
fe4827ccb3
CI / dco (pull_request) Successful in 5s
CI / runtimes (bun) (pull_request) Successful in 20s
CI / build (pull_request) Successful in 30s
CI / runtimes (edge) (pull_request) Successful in 22s
CI / runtimes (deno) (pull_request) Successful in 33s
perf(compression): send no Vary on a body under the threshold
...
A buffered body under the threshold is sent identity whatever the client
accepts, so Accept-Encoding played no part in it and RFC 9110 asks for
no Vary. A cache that stores it for everyone is right to: every client
accepts identity. Responses that are encoded, or that are identity for
a request-side reason (identity client, HEAD), and every 304 keep Vary,
as does every compressible edge response, since Cloudflare encodes
there.
Deno pays about 10% of a small request for the header, Bun about 3%.
The size is also measured with Buffer.byteLength instead of allocating
the bytes, which are now built only when the body is encoded.
Measured on the Mac, hello with compression on against compression off:
Deno -17% -> -2%, Bun -7% -> -3%.
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com >
2026-10-28 22:39:06 -05:00
..
2026-10-23 01:20:11 -05:00
2026-10-23 01:20:11 -05:00
2026-10-24 22:52:07 -05:00
2026-06-28 13:37:37 -05:00
2026-10-28 22:39:06 -05:00
2026-10-23 01:20:11 -05:00
2026-09-19 12:38:50 -05:00
2026-10-24 14:36:15 -05:00
2026-10-24 14:13:39 -05:00
2026-10-24 14:48:26 -05:00
2026-09-16 22:26:28 -05:00
2026-10-09 13:59:35 -05:00
2026-10-24 15:52:50 -05:00
2026-09-01 21:26:11 -05:00
2026-09-01 11:32:17 -05:00
2026-09-16 22:27:15 -05:00
2026-06-26 00:33:48 -05:00
2026-08-19 14:31:05 -05:00
2026-06-27 15:11:28 -05:00
2026-08-17 11:44:49 -05:00
2026-10-24 18:20:56 -05:00
2026-10-28 22:39:06 -05:00
2026-10-24 18:31:40 -05:00
2026-10-23 01:08:24 -05:00
2026-09-19 12:38:50 -05:00
2026-10-23 00:47:58 -05:00
2026-06-27 15:13:09 -05:00
2026-09-01 10:35:03 -05:00
2026-10-24 13:55:06 -05:00
2026-06-26 01:04:24 -05:00
2026-10-28 14:31:20 -05:00
2026-06-26 00:35:44 -05:00
2026-07-17 16:25:31 -05:00
2026-07-09 10:44:03 -05:00
2026-10-24 18:42:23 -05:00
2026-10-24 22:36:18 -05:00
2026-10-23 00:57:10 -05:00
2026-10-27 22:35:03 -05:00
2026-10-24 18:15:50 -05:00
2026-09-01 10:21:34 -05:00
2026-10-24 18:18:23 -05:00
2026-10-10 15:03:19 -05:00
2026-08-16 14:57:42 -05:00
2026-10-24 18:27:35 -05:00
2026-10-24 22:21:10 -05:00
2026-10-24 22:21:10 -05:00
2026-09-01 10:37:41 -05:00
2026-10-24 18:42:23 -05:00
2026-08-02 20:47:18 -05:00
2026-09-17 22:39:49 -05:00
2026-10-24 22:36:18 -05:00
2026-08-16 23:35:26 -05:00
2026-07-17 15:50:59 -05:00
2026-09-16 22:26:13 -05:00
2026-09-16 22:27:15 -05:00
2026-10-23 00:02:42 -05:00
2026-10-26 22:48:15 -05:00
2026-10-23 00:53:55 -05:00
2026-09-01 10:57:47 -05:00
2026-06-28 13:23:54 -05:00
2026-10-12 16:07:58 -05:00
2026-10-12 16:07:58 -05:00
2026-10-12 13:47:53 -05:00
2026-10-12 13:59:56 -05:00
2026-10-12 15:12:40 -05:00
2026-09-01 15:48:01 -05:00
2026-09-01 08:39:11 -05:00
2026-10-10 12:10:52 -05:00
2026-09-16 22:25:50 -05:00
2026-06-26 00:31:41 -05:00
2026-08-02 20:40:02 -05:00
2026-09-01 11:52:42 -05:00
2026-08-02 22:42:39 -05:00
2026-07-06 21:26:55 -05:00
2026-10-24 18:23:29 -05:00
2026-10-24 18:18:23 -05:00
2026-07-06 21:29:27 -05:00
2026-07-10 15:59:52 -05:00
2026-08-02 20:45:44 -05:00
2026-10-24 22:49:46 -05:00
2026-07-06 21:37:22 -05:00
2026-09-01 10:35:03 -05:00
2026-10-23 01:09:54 -05:00
2026-07-10 14:26:57 -05:00
2026-09-01 09:27:32 -05:00
2026-10-23 01:20:11 -05:00
2026-10-24 14:26:49 -05:00
2026-10-10 11:42:38 -05:00
2026-10-09 13:59:35 -05:00
2026-06-28 13:25:24 -05:00