Caching Unity packages

The documentation says that it’s possible to cache the unity packages via a custom package registry.
How would i do that?

I set up a verdaccio npm registry with an uplink to https://packages.unity.com

uplinks:
  upm:
    url: https://packages.unity.com
    cache: true

the package manifest looks like this

This is the log:

Did you add a packages entries that specifies the uplink with proxy? I don’t think just adding the uplink on its own does anything, it needs to be used in a packages directive.

See here: Package Access | Verdaccio

e.g.

packages:
  '**':
    access: $all
    proxy: upm
1 Like

Yes, thank you, it was still referring to the npmjs uplink.
Would it be possible to redirect https://packages.unity.com from all workstations to the local server behind nginx?
In previous unity manual versions it was said that:

Is it now possible to add a CA?

Yes, look at the manual: Unity - Manual: Solving network issues

1 Like