node/doc/api
Aditi a7f7d10c06
src: add an option to make compile cache portable
Adds an option (NODE_COMPILE_CACHE_PORTABLE) for
the built-in compile cache to encode the hashes with
relative file paths. On enabling the option,
the source directory along with cache directory can be
bundled and moved, and the cache continues to work.

When enabled, paths encoded in hash are relative to
compile cache directory.

PR-URL: https://github.com/nodejs/node/pull/58797
Fixes: https://github.com/nodejs/node/issues/58755
Refs: https://github.com/nodejs/node/issues/52696
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2025-11-18 12:59:54 +01:00
..
addons.md
assert.md 2025-09-25, Version 24.9.0 (Current) 2025-09-24 09:06:46 +02:00
async_context.md doc: fix typed list formatting 2025-07-17 16:57:14 +02:00
async_hooks.md
buffer.md doc: correct values/references for buffer.kMaxLength 2025-11-13 22:44:23 +01:00
child_process.md doc: recommend events.once to manage 'close' event 2025-11-13 22:44:23 +01:00
cli.md src: add an option to make compile cache portable 2025-11-18 12:59:54 +01:00
cluster.md doc: fix typed list formatting 2025-07-17 16:57:14 +02:00
console.md 2025-10-08, Version 24.10.0 (Current) 2025-10-08 10:24:11 -03:00
corepack.md doc: clarify future Corepack removal in v25+ 2025-05-08 09:59:50 +02:00
crypto.md doc,crypto: link keygen to supported types 2025-11-13 22:44:25 +01:00
debugger.md
deprecations.md doc: mention more codemods in deprecations.md 2025-11-07 18:11:38 +01:00
dgram.md 2025-06-09, Version 24.2.0 (Current) 2025-06-09 15:36:15 +02:00
diagnostics_channel.md http2: add diagnostics channels for client stream request body 2025-11-13 22:44:16 +01:00
dns.md doc: add missing CAA type to dns.resolveAny() & dnsPromises.resolveAny() 2025-11-07 18:11:36 +01:00
documentation.md doc: clarify release candidate stability index 2025-08-12 09:19:59 -03:00
domain.md doc: fix typed list formatting 2025-07-17 16:57:14 +02:00
embedding.md
environment_variables.md doc: mark .env files support as stable 2025-10-06 16:26:10 +02:00
errors.md esm: use sync loading/resolving on non-loader-hook thread 2025-11-13 22:44:15 +01:00
esm.md doc: highlight module loading difference between import and require 2025-11-13 22:44:23 +01:00
events.md doc: format safely for doc-kit 2025-08-08 11:56:49 +02:00
fs.md doc: fix filehandle.read typo 2025-09-04 10:15:12 +02:00
globals.md doc,src,lib: clarify experimental status of Web Storage support 2025-11-17 11:26:09 +01:00
http2.md doc: improve documentation for raw headers in HTTP/2 APIs 2025-09-04 10:15:14 +02:00
http.md doc: fix linter issues 2025-11-13 22:44:24 +01:00
https.md doc: fix linter issues 2025-11-13 22:44:24 +01:00
index.md doc: add new environment variables doc page 2025-07-21 10:59:02 +02:00
inspector.md 2025-08-27, Version 24.7.0 (Current) 2025-08-27 11:27:15 +02:00
intl.md
module.md src: add an option to make compile cache portable 2025-11-18 12:59:54 +01:00
modules.md doc: fix pseudo code in modules.md 2025-11-13 22:44:22 +01:00
n-api.md 2025-09-25, Version 24.9.0 (Current) 2025-09-24 09:06:46 +02:00
net.md 2025-07-31, Version 24.5.0 (Current) 2025-07-31 10:26:53 +02:00
os.md doc: fix typed list formatting 2025-07-17 16:57:14 +02:00
packages.md doc: correct module loading descriptions 2025-11-13 22:44:15 +01:00
path.md 2025-09-10, Version 24.8.0 (Current) 2025-09-10 15:38:56 +02:00
perf_hooks.md perf_hooks: move non-standard performance properties to perf_hooks 2025-11-13 22:44:12 +01:00
permissions.md doc: remove broken link to permission model source code 2025-07-08 11:44:43 -03:00
process.md doc: fix typo in process.unref documentation 2025-11-13 22:44:22 +01:00
punycode.md doc: fix typed list formatting 2025-07-17 16:57:14 +02:00
querystring.md
quic.md doc: fix quic session instance typo 2025-09-04 10:15:13 +02:00
readline.md doc: fix typed list formatting 2025-07-17 16:57:14 +02:00
repl.md doc: fix typed list formatting 2025-07-17 16:57:14 +02:00
report.md 2025-01-07, Version 22.13.0 'Jod' (LTS) 2025-01-07 14:36:47 -05:00
single-executable-applications.md doc: add missing word in single-executable-applications.md 2025-11-13 22:44:22 +01:00
sqlite.md doc: add missing history entry for sqlite.md 2025-11-13 22:44:24 +01:00
stream.md doc: instantiate resolver object 2025-11-13 22:44:17 +01:00
string_decoder.md
synopsis.md
test.md 2025-08-27, Version 24.7.0 (Current) 2025-08-27 11:27:15 +02:00
timers.md 2025-06-09, Version 24.2.0 (Current) 2025-06-09 15:36:15 +02:00
tls.md doc: update OpenSSL default security level to 2 2025-09-09 08:40:51 +02:00
tracing.md doc: fix typed list formatting 2025-07-17 16:57:14 +02:00
tty.md doc: fix typed list formatting 2025-07-17 16:57:14 +02:00
typescript.md doc: update decorator documentation to reflect actual policy 2025-11-07 18:11:33 +01:00
url.md doc: mention more codemods in deprecations.md 2025-11-07 18:11:38 +01:00
util.md 2025-10-08, Version 24.10.0 (Current) 2025-10-08 10:24:11 -03:00
v8.md 2025-09-25, Version 24.9.0 (Current) 2025-09-24 09:06:46 +02:00
vm.md vm: make vm.Module.evaluate() conditionally synchronous 2025-11-07 18:11:33 +01:00
wasi.md doc: fix typed list formatting 2025-07-17 16:57:14 +02:00
webcrypto.md doc,crypto: update subtle.generateKey and subtle.importKey 2025-09-24 09:03:34 +02:00
webstreams.md 2025-08-27, Version 24.7.0 (Current) 2025-08-27 11:27:15 +02:00
worker_threads.md perf_hooks: move non-standard performance properties to perf_hooks 2025-11-13 22:44:12 +01:00
zlib.md doc: add missing Zstd strategy constants 2025-08-21 19:01:11 +02:00