Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Custom Domains #21

Open
alpha1 opened this issue May 31, 2013 · 4 comments
Open

Use Custom Domains #21

alpha1 opened this issue May 31, 2013 · 4 comments

Comments

@alpha1
Copy link
Member

alpha1 commented May 31, 2013

While it is awesome to use the domain awesomeness.openphoto.me, would it be possible to use the real domain, either user.trovebox.com or usersdomain.com when pulling and linking images from trovebox. This would make it less dependent on trovebox as a service.

@jmathai
Copy link
Member

jmathai commented May 31, 2013

Long running issue. I think the real problem is that the frontend doesn't proxy requests to static photos. We always return URLs directly to the photo (an S3 URL in this case).

I reopened photo/frontend#401 which was tracking this.

@alpha1
Copy link
Member Author

alpha1 commented May 31, 2013

Wonder if we could "rewrite" using the saved openphoto site setting?
Those images are really stored at S3, even if image was uploaded to dropbox or box?

@jmathai
Copy link
Member

jmathai commented May 31, 2013

Each storage adapter is different. For Dropbox and Box we don't store thumbnails on those services. Mainly because they don't operate as well as a CDN. Loading thumbnails would be significantly slower than loading from somewhere more suited for CDN type requests.

That being said, if you'd really like to have thumbnails stored on a different domain that's doable too by using your own S3 for the thumbnails, instead of using the bucket we provide.

Sorta long winded but hope that makes sense.

If we proxy the requests that solves the problem since the URL would be to your site URL (custom domain or *.trovebox.com) and we'd seamlessly proxy the thumbnail from wherever the source is. This does add a little bit of latency, fyi.

@alpha1
Copy link
Member Author

alpha1 commented May 31, 2013

Very interesting. Thanks for the explanation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants