Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 yslow 版本 3.1.4
每次向主机域发出的请求都会发送一个 cookie,该请求与使用响应标头设置时指定的domain和属性相匹配。pathset-cookie:
domain
path
set-cookie:
当您的浏览器GET为其请求标头发出 a时,如果域和路径匹配,print.css则仍将包含标头。cookie:
GET
print.css
cookie:
为了防止这种情况,请参阅在 cookie 上设置路径防止它在 http 静态请求中发送?.