Repository Actions
Use the repository buttons to perform actions related to the repository's cache and search index. Locate the buttons when selecting a specific repository from the list under the Settings menu.
Settings → Repository → Repositories
Invalidate Cache
Invalidate cache expires the cached maximum metadata age and maximum component age values for components. The current metadata for the component is requested from the remote repository on the next request.
Updates the component metadata Components are not re-download from the proxy nor are they deleted from local storage.
Purges the 'not found cache' for components Caches the results when an artifact is not found on the remote repository to reduce requests. Users may wish to invalidate the cache when newer versions are frequently published to the remote repository.
See the Negative Cache from Repository Fields
Updates all group members Invalidating the cache on a group repository impacts the proxy and hosted repositories that are members of the group. Items fetched and held in the group cache, such as Maven metadata, are cleared.
Rebuild Index
Rebuild Index synchronizes the repository contents with the search index for for proxy and hosted repositories. This is specific to the search index and does not rebuild the index.yaml
file.
Use the Repair - Rebuild repository search task to rebuild the index for all repositories.
Enable or Disable HealthCheck
Enable/Disable HealthCheck controls when the health check feature is enabled on a proxy repository. It is available for proxy repositories of the following formats:
Maven, npm, NuGet, PyPi, RubyGems, Yum