Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Currently, web application need to offer some kind of cross-domain HTTP header to access data on other domain: http://openfontlibrary.org/wiki/Web_Font_linking_and_Cross-Origin_Resource_Sharing

Is there any way to configure CouchDB to support unlimited cross-domain access? I'm using the db in-house purpose only.

share|improve this question

2 Answers 2

There is a JIRA ticket about CouchDB cross-origin resource sharing.

Recently, I submitted a patch enabling CORS. I expect a modified version of the patch will be included in CouchDB 1.2.0, the next stable release.

share|improve this answer

It sounds like you're on the right track. CouchDB supports master-master replication that is very easy to configure. So you could put your fonts into Couch and have other font users replicate your fonts onto their own Couch servers. This would let them access your fonts as often as they want without having to head over to your server each time they want to pull a font (their CouchDB would copy all the fonts once and then the clients would pull from that Couch node instead of yours).

The added benefit of Couch is that if a user on another Couch node adds a font, the master-master system will replicate it to your node so you can see it locally. This is a pretty handy feature that many folks fail to recognize about Couch.

See more here: http://guide.couchdb.org/draft/replication.html

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.