1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-22 15:06:54 -05:00
denoland-deno/ext/fetch
Bartek Iwańczuk 7e81d3c876
perf(http): cache verified headers (#19465)
Use `Map` to cache validated HTTP headers. Cache
has a capacity of 4096 elements and it's cleared
once that capacity is reached.

In `preactssr` benchmark it lowers the time spent
when adding headers from 180ms to 2.5ms.
2023-06-13 21:13:34 +02:00
..
20_headers.js perf(http): cache verified headers (#19465) 2023-06-13 21:13:34 +02:00
21_formdata.js chore: update deno_lint to 0.46.0 (#19372) 2023-06-05 15:57:01 -04:00
22_body.js chore: update deno_lint to 0.46.0 (#19372) 2023-06-05 15:57:01 -04:00
22_http_client.js refactor: Use ES modules for internal runtime code (#17648) 2023-02-07 20:22:46 +01:00
23_request.js perf: optimize RegExp usage in JS (#19364) 2023-06-05 10:52:40 +02:00
23_response.js perf: optimize RegExp usage in JS (#19364) 2023-06-05 10:52:40 +02:00
26_fetch.js fix(ext/node): handle 'upgrade' responses (#19412) 2023-06-13 14:11:27 +02:00
byte_stream.rs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
Cargo.toml chore: forward v1.34.2 release commit to main (#19434) 2023-06-09 02:17:03 +00:00
fs_fetch_handler.rs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
internal.d.ts refactor: remove remaining references to "flash" server (#18580) 2023-04-04 12:37:56 +02:00
lib.deno_fetch.d.ts fix(ext/fetch): remove Response.trailer from types (#17284) 2023-01-15 04:42:52 +00:00
lib.rs fix(ext/node): handle 'upgrade' responses (#19412) 2023-06-13 14:11:27 +02:00
README.md Rename extensions/ directory to ext/ (#11643) 2021-08-11 12:27:05 +02:00

deno_fetch

This crate implements the Fetch API.

Spec: https://fetch.spec.whatwg.org/