短链接如何运作? (谷歌内部)

发布于 2024-12-09 08:38:36 字数 202 浏览 1 评论 0原文

我发现在 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

丑疤怪 2024-12-16 08:38:36

我不知道它是如何工作的,但我知道它是如何工作的。

创建一台名为“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).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文