1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-02 17:01:14 -05:00
denoland-deno/ext/cache
Bartek Iwańczuk 09de6a11d6 refactor: Split extension registration for runtime and snapshotting (#18095)
This commit splits "<ext_name>::init" functions into "init_ops" and
"init_ops_and_esm". That way we don't have to construct list of
ESM sources on each startup if we're running with a snapshot.

In a follow up commit "deno_core" will be changed to not have a split
between "extensions" and "extensions_with_js" - it will be embedders'
responsibility to pass appropriately configured extensions.

Prerequisite for https://github.com/denoland/deno/pull/18080
2023-03-10 13:01:41 +09:00
..
01_cache.js refactor: rename InternalModuleLoader to ExtModuleLoader, use ext: scheme for snapshotted modules (#18041) 2023-03-10 12:58:25 +09:00
Cargo.toml 1.31.1 (#17936) 2023-02-24 21:17:58 -05:00
lib.deno_cache.d.ts chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
lib.rs refactor: Split extension registration for runtime and snapshotting (#18095) 2023-03-10 13:01:41 +09: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