I am learning about cookies, and I wonder about browser support when writing web applications that rely on cookies to store state.
For each domain/web site,
If you are concerned about performance decreases due to large cookies being sent on each server request, a good idea might be to place all your static files (images, CSS, etc.) into a subdomain of your site, like http://static.yourdomain.com
.
In this way, whenever your site on www.yourdomain.com
asks for a static file,like an image, the browser won't send the cookie along with the HTTP request anymore.
Source: http://developer.yahoo.com/performance/rules.html#cookie_free