1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-27 09:39:08 -05:00
denoland-deno/ext/cache
Luca Casonato 1ab3691b09
feat(core): add Deno.core.writeAll(rid, chunk) (#16228)
This commit adds a new op_write_all to core that allows writing an
entire chunk in a single async op call. Internally this calls
`Resource::write_all`.

The `writableStreamForRid` has been moved to `06_streams.js` now, and
uses this new op. Various other code paths now also use this new op.

Closes #16227
2022-10-10 10:28:35 +02:00
..
01_cache.js feat(core): add Deno.core.writeAll(rid, chunk) (#16228) 2022-10-10 10:28:35 +02:00
Cargo.toml chore: forward v1.26.1 release commit to main (#16178) 2022-10-06 16:49:40 -04:00
lib.deno_cache.d.ts feat: implement Web Cache API (#15829) 2022-09-28 17:41:12 +05:30
lib.rs chore(ext/cache): make helper functions public (#16117) 2022-10-03 10:52:54 +05:30
README.md feat: implement Web Cache API (#15829) 2022-09-28 17:41:12 +05:30
sqlite.rs perf(ext/cache): set journal_mode=wal (#16231) 2022-10-10 13:05:57 +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