#Does deno cache still exists in deno 2?

12 messages · Page 1 of 1 (latest)

grim imp
#

I tried using it on a dockerfile, if I cache my main entrypoint (main.ts) it downloads at build time on every build, if I cache deno.json it downloads at runtime... Where is this "cache" happening? Am I missing something out?

I'm using --lock=deno.lock and deploying through a Dockerfile on Railway.app (afaik they fully utilize docker cache layer)

leaden gull
#

Do you have any dependencies defined in Deno.json?

#

If you only use inline specifiers in your main file then keep using deno cache or replace it with deno install --entrypoint

grim imp
leaden gull
#

deno install in repo root should take cache of caching everything necessry

grim imp
#

will give it a try, thanks

grim imp
#

@leaden gull now it is indeed caching, thanks.
There's just this one package that keeps getting downloaded at runtime, what could it be?

leaden gull
#

Yikes, hard to say on top off my head.

#

Could you please open an issue about it?

#

I think it might be related to types but I'm not sure

novel talon
grim imp