Smart Remote Repositories

JFrog Artifactory Documentation

ft:sourceType
Paligo

A Smart Remote repository is a Remote repository that proxies a Local, Remote, and Federated repository from another instance of Artifactory or an Edge node. In addition to the usual benefits of Remote Repositories, Smart Remote repositories offer several additional benefits:

Reported download statistics

Artifactory maintains download statistics for repositories so you are able to evaluate if artifacts are still being used and manage your cleanup policies. When you proxy a repository in another instance of Artifactory, and cache an artifact downloaded from the other instance, the distant Artifactory is not aware if users on your end continue to use the artifact (downloading it from your local cache), and may end up cleaning up the original artifact. An Artifactory Smart Remote Repository lets you notify the distant instance whenever a cached artifact is downloaded, so it can update an internal counter for remote downloads.

Download statistics may vary between Artifactory instances

Downloads are only reported through the proxy chain from the time this option is set, so the actual download statistics reported for an artifact may be different in the local Artifactory instance compared to the numbers reported in the remote Artifactory instance.

Synchronized properties

When you proxy a repository in another instance of Artifactory and cache an artifact downloaded from it, you may not be aware of changes that may have been made to the original artifact’s properties if they are done after you cache it. By synchronizing properties, any changes to artifact properties in the remote instance are propagated to your cached instance of the artifact.

Remote repository browsing

You can browse the contents of the repository in the remote Artifactory instance for all package types, even if none have been cached in your instance of Artifactory. This enables you to browse remote files as if they were local without having to request a particular file.

Source absence detection

When viewing a cached artifact, Artifactory will indicate if the original artifact in the remote instance has been deleted. This allows you to copy the artifact over from your remote repository cache to a local repository in case you need to maintain access to it.

Note

When configuring a Smart Remote Repository, only use a Local or Remote Artifactory repository as an endpoint.