Right - I would move off SumoCDN and just use Cloudfront directly for static assets, but then go further by serving up dynamic GET requests for requests with query parameters.
I should have included these in the original message: http://media.amazonwebservices.com/blog/cloudfront_dynamic_web_sites_full_1.jpg http://aws.amazon.com/cloudfront/dynamic-content/ On Monday, September 23, 2013 10:45:36 AM UTC-4, richard schneeman wrote: > > 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]<javascript:> > > 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] <javascript:> >> 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] <javascript:>. >> 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.
