With a pull based CDN (like cloudfront/cdn_sumo) only the very first request from must go to the "origin" to grab the asset. After that, all requests will be served from the closest geographical CDN location. Are you trying to optimize that first cache-miss request?
It looks like you could set up your DNS to use Amazon's Route 53 and then set up GEO DNS configuration http://www.cyberciti.biz/cloud-computing/aws/route-53-geodns-tutorial/ as one option. I've not done this though, and would be interested if anyone else has set up a GEO based DNS configuration. Would be cool to do this with a Heroku US and EU region. -- Richard Schneeman On Mon, Sep 23, 2013 at 9:29 AM, Mike Atlas <[email protected]> wrote: > Hi guys > > We're currently using SumoCDN (which leverages Amazon Cloudfront) to serve > up our static assets successfully. > > However, I'm now curious about serving up our dynamic GET requests as well > through Cloudfront, since our users may be geographically dispersed and > possibly quite far from the east coast server our Rails application > ("origin") is living on currently. > > Does anyone have experience setting up rails to leverage dynamic request > CDNs on rails (heroku) or a blog post? I couldn't find much out there > beyond people discussing how to use the static content caching feature. > > Thanks > Mike > > -- > -- > You received this message because you are subscribed to the Google > Groups "Heroku" group. > > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/heroku?hl=en_US?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "Heroku Community" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- -- You received this message because you are subscribed to the Google Groups "Heroku" group. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/heroku?hl=en_US?hl=en --- You received this message because you are subscribed to the Google Groups "Heroku Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
