1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-24 08:09:08 -05:00
denoland-deno/ext/fetch
Bartek Iwańczuk e4920f4a28
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-15 22:50:37 +02:00
..
20_headers.js perf(http): cache verified headers (#19465) 2023-06-15 22:50:37 +02:00
21_formdata.js chore: update deno_lint to 0.46.0 (#19372) 2023-06-09 01:13:22 +02:00
22_body.js chore: update deno_lint to 0.46.0 (#19372) 2023-06-09 01:13:22 +02: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-09 01:13:21 +02:00
23_response.js perf: optimize RegExp usage in JS (#19364) 2023-06-09 01:13:21 +02:00
26_fetch.js fix(ext/node): handle 'upgrade' responses (#19412) 2023-06-15 22:50:36 +02:00
byte_stream.rs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
Cargo.toml 1.34.2 (#19433) 2023-06-09 02:13:59 +02: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-15 22:50:36 +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/