+1, I would really like to see support for proxying Bower components on Artifactory server.
Is there a workaround we can use in the meantime?
Edit: I contacted JFrog support to see if there are any workarounds, doesn't seem like it.
Posting the email content so that everyone searching for this topic can see what the state of this feature is as of 6/30/14.
Unfortunately, Bower support is currently not on our near future roadmap.
You are welcome to vote for this feature request and watch the ticket for any changes.
Is there a way to generically proxy and cache a website using Artifactory server?
For example, a way to proxy a site like Github and cache its content so that generic tools can use Artifactory as a local proxy?
As in, to somehow create a repo that is specific to a domain and have Artifactory save all the http/s requests and response locally so that we can jury-rig it to work?
I’m looking for any ways to avoid installing yet another repo server in our environment (after all, we bought Artifactory server to avoid this )
Generally speaking, Artifactory can serve as a generic caching proxy - this is the basic functionality for remote repositories. This assumption is valid assuming the communication is done over the HTTP protocol and that the other side is returning static content which can be cached in Artifactory (artifacts).
Once the communication with the proxied server is based on a protocol/API, Artifactory has to be aware of this protocol and implement it (there is no ability to cache the responses as they are dynamic). This is the case for NPM, Gems and Nuget repositories which are supported by Artifactory.
This is also the case with Bower, which requires a Bower repository provider to implement a certain API. The difference between Bower and other package managers is that the content itself (packages) are not stored on the Bower repository. The repository is providing the Bower client with the location of a Git repository which stored the content instead.
Currently, Artifactory does not implement the API required by Bower and does not have the ability to managing the content in a Git repository instead of Artifactory itself.