How To Serve Images From A Cookieless Domain

I often get asked how to serve images form a cookieless domain?

The easiest way it to just buy a new domain and transfer all your images to that… Then link to the images from the other site. Pretty darn simple… 🙂

Some people will create a subdomain, nocookies.example.com, but it’s a bit harder to setup (and I’m not going to get into it today) because if your main domain example.com sets a cookie, cookies will also be set on nocookies.example.com. So just pay the 10 bucks and do it the easy way.

What’s the benefit of a cookieless domain? Mainly less bandwidth and less HTTP requests. Each item that gets downloaded has a cookie attached to it… It can really add up…

Comments

No comments yet.

Sorry, the comment form is closed at this time.