您是否想过Gmail的shva = 1 URL参数是什么意思?

If you aren’t a programmer you might have never thought about all that stuff in the URL when you visit Gmail, but after years of noticing this, I finally decided to look it up. Turns out it actually does stand for something.

如果您不是程序员,那么您访问Gmail时可能从未考虑过URL中的所有内容,但是经过多年的关注,我终于决定进行查找。 事实证明,它确实代表了某种东西。

shva = 1参数的含义 (What the shva=1 Parameter Means)

According to Google engineer Mike Sego:

根据Google工程师Mike Sego的说法:

shva is an acronym for “Should Have Valid Authentication”

shva是“应具有有效身份验证”的首字母缩写

To further explain…

进一步解释...

Once you login to Gmail, their servers need to make sure that you’re actually logged in, and adding this parameter tells the Gmail web application that you’re logged in, so the Gmail App doesn’t need to reload and re-check the authentication. Note: while testing we noticed that sometimes Gmail ignores this parameter, and sometimes it uses it.

登录Gmail后,它们的服务器需要确保您实际上已经登录,并且添加此参数会告诉Gmail Web应用程序您已经登录,因此Gmail应用程序不需要重新加载和重新检查。身份验证。 注意:在测试时,我们注意到Gmail有时会忽略此参数,有时会使用它。

And just to give you even more useless information…

只是为了给您更多无用的信息……

The #inbox parameter that you can see in the location bar tells Gmail which label to load. Go ahead, change #inbox to #drafts and you’ll see that the page doesn’t completely reload, but just acts as if you had clicked on the Drafts label.

您可以在位置栏中看到的#inbox参数告诉Gmail要加载的标签。 继续,将#inbox更改为#drafts,您会看到页面没有完全重新加载,但是就像您单击了草稿标签一样。

您是否想过Gmail的shva = 1 URL参数是什么意思?

You can even use the URL bar to change to custom labels that you’ve created, and Gmail will act as if you searched. For example, using #label/Books instead of #inbox will tell Gmail to show anything with the label of Books.

您甚至可以使用URL栏更改为已创建的自定义标签,Gmail的作用就像您进行搜索一样。 例如,使用#label / Books代替#inbox会告诉Gmail显示带有Books标签的任何内容。

您是否想过Gmail的shva = 1 URL参数是什么意思?

And now you know a completely useless, but somewhat interesting fact.

现在,您知道了一个完全无用但有些有趣的事实。

翻译自: https://www.howtogeek.com/133327/have-you-ever-wondered-what-gmails-shva1-url-parameter-means/

相关文章: