HTTP Mirror Repository
Mirror any HTTP repository for faster builds and improved reliability. Cache artifacts locally, build offline, and protect your supply chain. Never break a build because Maven Central is slow again.
Enterprise-grade repository mirroring
CloudRepo mirrors provide the reliability, speed, and security your builds deserve.
- Proxy Any HTTP Repository
- Mirror Maven Central, PyPI, npm, or any HTTP-based repository. Transparent proxying with zero configuration changes.
- Automatic Caching
- Artifacts are automatically cached on first download. Subsequent requests are served instantly from CloudRepo.
- Offline Availability
- Keep building even when upstream repositories are down. Cached artifacts remain available indefinitely.
- Bandwidth Savings
- Download artifacts once, serve them to your entire team. Dramatically reduce external bandwidth usage.
- Security Scanning
- All mirrored artifacts pass through your security policies. Block vulnerable packages before they reach your builds.
- Immutable Cache
- Once cached, artifacts never change. Protect against upstream tampering and supply chain attacks.
Why mirror your repositories?
Repository mirrors are essential infrastructure for any serious development team.
Build Reliability
Eliminate build failures caused by upstream repository outages or network issues.
Faster Builds
Serve artifacts from nearby CloudRepo infrastructure instead of distant upstream servers.
Compliance & Security
Maintain an audit trail of all artifacts used in your builds. Block unapproved packages.
Cost Reduction
Reduce bandwidth costs by caching frequently-used artifacts locally.
Quick Setup Guide
Set up a repository mirror in minutes. Start caching immediately.
Create a Mirror Repository
In your CloudRepo dashboard, create a new mirror repository and specify the upstream URL.
# Dashboard Configuration
Name: maven-central-mirror
Type: HTTP Mirror
Upstream URL: https://repo1.maven.org/maven2/
Cache Policy: Cache on first access
TTL: Indefinite (immutable)
Point Your Tools to the Mirror
Update your build configuration to use the CloudRepo mirror instead of the upstream repository.
<!-- Maven settings.xml -->
<mirrors>
<mirror>
<id>cloudrepo-central</id>
<name>CloudRepo Mirror of Central</name>
<url>https://[your-org].mycloudrepo.io/repositories/maven-central-mirror</url>
<mirrorOf>central</mirrorOf>
</mirror>
</mirrors>
<!-- Gradle build.gradle -->
repositories {
maven {
url "https://[your-org].mycloudrepo.io/repositories/maven-central-mirror"
credentials {
username = project.findProperty("cloudrepoUser")
password = project.findProperty("cloudrepoPassword")
}
}
}
Monitor and Manage
Track cache hit rates, storage usage, and manage cached artifacts through the dashboard.
# View mirror statistics
Cache Size: 12.4 GB
Cache Hit Rate: 94.2%
Artifacts Cached: 8,432
Upstream Requests (today): 23
Cached Requests (today): 387
# Popular cached artifacts
1. org/springframework/spring-core (2.1 GB)
2. com/google/guava (890 MB)
3. org/apache/commons (456 MB)
Popular repositories to mirror
Mirror any HTTP-based repository. Here are some common choices.
Maven Central
The primary repository for Java/JVM artifacts. Cache Spring, Apache Commons, and more.
repo1.maven.org/maven2 PyPI
The Python Package Index. Cache pip packages for faster Python builds.
pypi.org/simple npm Registry
Cache Node.js packages for faster JavaScript/TypeScript builds.
registry.npmjs.org JCenter (Archive)
Mirror archived JCenter packages that haven't migrated to Maven Central.
jcenter.bintray.com Clojars
The community repository for Clojure libraries and tools.
repo.clojars.org Custom HTTP
Mirror any internal or third-party HTTP repository with custom authentication.
HTTP repositories →Calculate Your Savings
See how much you can save compared to JFrog Artifactory and Nexus
Common Scenarios
JFrog Artifactory
Consumption25GB included. $1.25/GB (26-1204GB), $1.00/GB (1205-2024GB), $0.75/GB (2025+GB)
Nexus Repository
Consumption20GB included. $1.10/GB (first 1000GB), $0.90/GB (above 1000GB)
CloudRepo
PredictableNo egress fees. Ever. Download as much as you need.
Your Savings with CloudRepo
Compared to the higher-priced competitor
Ready to speed up your builds?
Start your 14-day free trial. No credit card required.