2 ms·
I was curious about what all shares the same web cache, exactly -- basically, can a random script poison a cache something like `deno_install` might use -- and
by yencabulator 4y ago
I was curious about what all shares the same web cache, exactly -- basically, can a random script poison a cache something like `deno_install` might use -- and didn't find that clearly documented.
The answer is here: https://github.com/denoland/deno/blob/716005a0d4afd1042fa75d8bdc32fd13e9ebe95f/cli/args/mod.rs#L183-L205 https://github.com/denoland/deno/blob/716005a0d4afd1042fa75d...
So
- value of `deno run --location=`
- value of `deno run --config=`, also automatic probing
- path to main script file, or for `deno eval`, current directory