When Artifactory receives a download artifact request from the user, then Artifactory returns a redirected CDN URL to the user. The user's redirected download request is automatically routed to the nearest CDN and the requested package is served to the user from the nearest CDN location.

For any packages below the 200KB size or Without the CDN feature then the user requests for the package to Artifactory reaches Artifactory and the package will be served from the Binarystore that is configured in Artifactory.

In the artifactory-request.log, we will see the requests as following:
For file greater than 200KB
When the CDN redirect or S3 redirect is enabled, the requested artifacts will be served from the S3 or CloudFront domains instead of Artifactory domain. In the redirect response that Artifactory provides the CDN and the S3 domains are constant, whereby adding them to the organization’s firewall will ensure smooth and uninterrupted downloads of artifacts.
For CloudFront:
https://<cloudFrontDomainName>.cloudfront.net/…
Example Cloudfront URL looks similar to:
https://d3bszrh4vo52dt.cloudfront.net/filestore/……
For S3:
https://<bucketName>.s3.amazonaws.com/…
Example S3 redirect URL looks similar to :
https://<bucketName>.s3.amazonaws.com/aol-lookout/filestore/bc
Please note that with CDN/S3 redirect enabled, when downloading artifacts from different clients, the Client must follow the redirects in order to download successfully.
For any packages below the 200KB size or Without the CDN feature then the user requests for the package to Artifactory reaches Artifactory and the package will be served from the Binarystore that is configured in Artifactory.
In the artifactory-request.log, we will see the requests as following:
For file greater than 200KB
2022-06-07T20:18:13.431Z|33a46490202bc00e|52.9.243.19|divija|GET|/generic-local-test/Filename.tgz|302|-1|0|87|curl/7.77.0For file less than 200KB
2022-06-07T20:17:46.085Z|b29a371e79e558e1|52.9.243.19|divija|GET|/generic-local-test/smallFilename2.tgz|200|-1|174080|216|curl/7.77.0
When the CDN redirect or S3 redirect is enabled, the requested artifacts will be served from the S3 or CloudFront domains instead of Artifactory domain. In the redirect response that Artifactory provides the CDN and the S3 domains are constant, whereby adding them to the organization’s firewall will ensure smooth and uninterrupted downloads of artifacts.
For CloudFront:
https://<cloudFrontDomainName>.cloudfront.net/…
Example Cloudfront URL looks similar to:
https://d3bszrh4vo52dt.cloudfront.net/filestore/……
For S3:
https://<bucketName>.s3.amazonaws.com/…
Example S3 redirect URL looks similar to :
https://<bucketName>.s3.amazonaws.com/aol-lookout/filestore/bc
Please note that with CDN/S3 redirect enabled, when downloading artifacts from different clients, the Client must follow the redirects in order to download successfully.