Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Use cookie-free domains - subdomain solution not working

I'm trying to optimize an html webpage, and one of the suggestions from yslow is:

Use cookie-free domains There are 11 components that are not cookie-free

So I followed one of the standard solutions I've seen and created a subdomain static.mysite.com and put the images there.

But I'm still getting the exact same problem -- a cookie is still being delivered with each image, and same yslow message.

So how do I get this subdomain to be cookie free?

like image 331
oyvey Avatar asked Nov 30 '25 02:11

oyvey


1 Answers

If you are using subdomain for cookie-free delivery then your main page has to use www prefix.

like image 94
Rimski Avatar answered Dec 04 '25 09:12

Rimski



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!