<p>For performance reasons I would be strongly in favour of doing as much as possible client side and not going through the rails_port backend. Although it shouldn't be as slow as the demo page on the dev server, parsing and reencoding things in rails will add latency and cost additional resources.</p>
<p>As <a href="https://github.com/woodpeck" class="user-mention">@woodpeck</a>, who together with a student of his wrote the initial versions of these patches, mentioned these patches were written in response to Nic's client side version, as that was partially rejected due to being entirely client side. However, I think <a href="https://github.com/tomhughes" class="user-mention">@tomhughes</a> perspective towards this has recently changed. </p>
<p>Privacy and security is another important matter, and does suggest going through at least a proxy on osm.org to protect users IP addresses from third party sites. However, osm.org already includes third party resources, like the 3 different tile layers. So as long as the default routing backend is operated by OSMF, it wouldn't be much of a difference in this respect to what we already have.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href='https://github.com/openstreetmap/openstreetmap-website/issues/381#issuecomment-21563816'>view it on GitHub</a>.<img src='https://github.com/notifications/beacon/uTRSc6ihLa7Shf84BpiOprxpGPSjCb8GVXsm7DOHOWTLBdaZz1TF04qWM_RugImN.gif' height='1' width='1'></p>