1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-28 16:20:57 -05:00
denoland-deno/ext/cache
Matt Mastracci 3487fde236
perf(core) Reduce copying and cloning in extension initialization (#18252)
Follow-up to #18210:

* we are passing the generated `cfg` object into the state function
rather than passing individual config fields
 * reduce cloning dramatically by making the state_fn `FnOnce`
 * `take` for `ExtensionBuilder` to avoid more unnecessary copies
 * renamed `config` to `options`
2023-03-17 22:15:27 +00:00
..
01_cache.js refactor: rename InternalModuleLoader to ExtModuleLoader, use ext: scheme for snapshotted modules (#18041) 2023-03-08 12:44:54 +01:00
Cargo.toml chore: forward v1.31.3 release commit to main (#18222) 2023-03-16 17:09:26 +09:00
lib.deno_cache.d.ts chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
lib.rs perf(core) Reduce copying and cloning in extension initialization (#18252) 2023-03-17 22:15:27 +00:00
README.md feat: implement Web Cache API (#15829) 2022-09-28 17:41:12 +05:30
sqlite.rs refactor: clean up unwrap and clone (#17282) 2023-01-15 09:36:46 +05:30

deno_cache

This crate implements the Cache API for Deno.

The following APIs are implemented:

Cache APIs don't support the query options yet.

Spec: https://w3c.github.io/ServiceWorker/#cache-interface