短链接如何运作? (谷歌内部)
我发现在 google 内部,短链接用于导航到不同的 Google 服务。例如:
go/mail 会将您带到 gmail
go/docs 会将您带到 docs
并且在浏览器的地址栏中输入。
我只是想知道是否有人知道它是如何工作的?是内部 DNS 映射吗?
I found out that inside google , shortlinks are used to navigate around to different Google services. For example:
go/mail would take you to gmail
go/docs would take you to docs
And that is entered in the address bar of the browser .
I'm just wondering if anyone knows how it works ? is it internal DNS mapping ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我不知道它是如何工作的,但我知道它是如何工作的。
创建一台名为“go”的计算机。设置 DNS 映射,以便“ping go”执行一些有用的操作。
在该计算机上运行一个 Web 服务器,当获取“http://go/mail”时,该服务器会以 HTTP 状态代码 302(重定向)进行响应。
I don't know how it does work, but I know how it could work.
Create a computer called "go". Set up DNS mapping so "ping go" does something useful.
On that computer run a web server which, when "http://go/mail" is fetched, responds with HTTP status code 302 (redirect).