What does Priority=High mean in the Set-Cookie header?

戏子无情 提交于 2020-06-16 03:03:02

问题


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

I can't find any documentation on what Priority=High is for. What does it mean?


回答1:


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.

More information can be found here



来源:https://stackoverflow.com/questions/19792038/what-does-priority-high-mean-in-the-set-cookie-header

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!