asp.net-mvcasp.net-mvc-3cookiesyslow

I started using a static. subdomain but YSlow still says I am not cookie-free?


I changed all my static content references to use the static. subdomain instead of www. but YSlow still says I am not using cookie-free domains for my static content. What else do I need to do?

Example: http://www.justineyandlephotography.com


Solution

  • What else do I need to do?

    To be completely cookie-free, you should use a different domain, not subdomain because cookies can be shared between subdomains. For example take a look at how Stack Overflow does it:

    So in your case:

    It basically means that you need to purchase an additional domain if you don't already have one.