Set-Cookie标头中的Priority = High是什么意思? [英] What does Priority=High mean in the Set-Cookie header?
问题描述
我一直在查看Chrome在Fiddler中的流量,发现有些我不明白的东西:
I've been looking at Chrome's traffic in Fiddler, and I found something that I feel I don't understand:
Set-Cookie: GAPS=1:ZYBtVMzURzU2umKMxZThJ2lVPxy3Hg:SvHhlG2k1Vy5pnA0;Path=/;Expires=Wed, 04-Nov-2015 20:44:37 GMT;Secure;HttpOnly;Priority=High
我找不到有关 Priority = High
的用途的任何文档。是什么意思?
I can't find any documentation on what Priority=High
is for. What does it mean?
推荐答案
基本上,这至少是chrome的规格(我在其他浏览器中看不到)允许在重新验证Cookie时对它们进行优先级排序。当cookie超过每个域的cookie容量时,它们将被删除。 Cookie优先级使服务器可以删除较低优先级的旧Cookie,并且即使较旧也可以挂在较高优先级的Cookie上。
Basically this is a spec by at least chrome (I didn't see it for other browsers) that allows cookies to be prioritized for when they are re-authenticated. Cookies get deleted when they exceed per-domain cookie capacity. The cookie-priority allows servers to remove old cookies at lower priorities, and hang onto higher priority cookies longer, despite being older.
更多信息,请参见此处
这篇关于Set-Cookie标头中的Priority = High是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!