像 bit.ly 这样的 URL 缩短器在 Web 开发中是否有任何用途?
我可能在这里遗漏了一些东西,但我无法理解像 bit.ly 这样的链接缩短服务的真正目的,或者这只是大量的炒作!
确实,如果你在浏览器的地址栏上输入 nyti.ms,它会将你带到 www.nytimes.com,但输入“nytimes.com”仍然如此困难!它非常易于阅读和理解,不用去记住 为什么
缩短 URL 在 Web 开发中有什么用处吗?
有人要使用晦涩的缩短 URL?
I might be missing something here but am unable to understand the true purpose of link shortener services like bit.ly or is it just a lot of hype!
Truly if you type nyti.ms on your URL bar on the browser it takes you to www.nytimes.com, but still what is so hard in typing "nytimes.com! which is far much comprehensible to read and understand leave alone to remember!
Does shortening URL serve any purpose in web development?
Why should someone want use obscure shortened URL?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(6)
压缩。
例如:您可能希望在 QR 码 中容纳一个很长的 URL。 :)
其中有容量有限。
Compression.
For example: you may want to fit a very long URL in a QR Code. :)
Which has limited capacity.
想想 Twitter。您只能提供 140 个字符。如果您想在消息中添加 URL,则最好简短 – 特别是如果您没有链接到另一个网站的主页,而是链接到较深的地方。
Think of e.g. Twitter. You have only 140 characters to give. If you want to add a URL to your message, it better be short – especially if you are not linking to the home page of another website, but somewhere deep.
主要用于 Twitter 等字符串长度有限的服务。也适用于各种需要看不到链接 URL 的模因(例如 rick-rolling)。
Mostly for services like Twitter where string length is limited. Also for various memes which require one not to see the link URL (say rick-rolling).
在诸如短信之类的电话通信或诸如电子邮件、论坛、新闻组之类的在线通信中,可能需要缩短极长的 URL。
如果我通过电子邮件发送一个很长的链接,它可能会换行并破坏 URL。 URL 的其他奇怪之处可能无法正确处理,具体取决于它的通信方式。如果通过电话大声朗读,则 URL 会变得更短。
In phone communication such as texting or in online communications such as email,forums,newsgroups it may be desirable to shorten an extremely long URL.
If I email a very long link it may get line wrapped and break the URL. Other strangenesses of the URL may not be handled properly depending on the means that it is being communicated. If it is being read out loud over the phone it makes the URL much shorter.
是的。如果您使用 URL 缩短器来伪装 URL,那么诱骗人们点击真正令人讨厌的色情网站的链接就会容易得多。
Yes. It's a lot easier to trick people into clicking on links to really nasty porn sites if you disguise the URL using a URL shortener.