patwasalinguist
patwasalinguist2mo ago

Docs on deno cache

Hi all, I’m confused about the state of the deno cache subcommand. It seems that the online docs are redirecting to deno install now, but $ deno help cache still gives info in v2.0.6. Is deno cache going away, to be replaced by deno install?
1 Reply
Leokuma
Leokuma4w ago
Right now it's confusing indeed. My guess is that Deno Team hasn't decided on this yet It seems like Deno Team was discussing whether to deprecate deno cache or not, something like that. The reasoning is that install would be able to generate and cache V8 bytecode, resulting in a performance gain that cache doesnt provide However, I don't think install covers all the use cases of cache, and maybe that's the reason why cache hasn't been officially deprecated If you really want an answer from the Core Team, you can ask in #deno-cli. I think they look that channel more often