Why does yslow identifiy my images, scripts and css as cookies?
-
22-07-2021 - |
Domanda
I am using yslow version 3.1.4
Soluzione
A cookie is sent with every request made to the host domain that matches the domain
and path
attributes that were specified when it was set with a set-cookie:
response header.
When your browser issues a GET
for print.css
its request header will still contain a cookie:
header if the domain & path match.
To prevent this see setting the path on cookie prevent it being sent in http static requests?.
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow