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…

No tag for this post.

Did you enjoy this post? Why not leave a comment below and continue the conversation, or subscribe to my feed and get articles like this delivered automatically to your feed reader.

RSS feed for comments on this post | TrackBack URI for this post
Comments

No comments yet.

Leave a comment

(required)

(required)


Time limit is exhausted. Please reload CAPTCHA.