Current time: 11-28-2020, 09:22 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
cookies get RED X
09-08-2011, 08:43 AM
Post: #2
RE: cookies get RED X
The cookie check is one I have considered eliminating because it's kind of a micro-optimization, particularly compared to a lot of the others. The basic rule is that you should serve static content from a "cookieless domain" (i.e. content that doesn't actually use the cookies). The reason is that cookies can add to the size of the request and requests are usually sent upstream on asymmetrical user connections where the upstream is the slower part. A 100 byte cookie across 100 requests is 10KB of outbound data.

Unless the cookies are huge and on a LOT of requests I wouldn't bother with it. If you have already optimized everything else and are possibly looking at adding a CDN that would be a god time to make sure that your cookies are not bleeding over to the CDN domain.

-Pat
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
cookies get RED X - trx - 09-08-2011, 07:32 AM
RE: cookies get RED X - pmeenan - 09-08-2011 08:43 AM
RE: cookies get RED X - trx - 09-09-2011, 07:52 AM
RE: cookies get RED X - pmeenan - 09-09-2011, 08:56 AM
RE: cookies get RED X - trx - 09-09-2011, 09:29 AM
RE: cookies get RED X - pmeenan - 09-09-2011, 10:04 AM
RE: cookies get RED X - jarrod1937 - 09-12-2011, 11:11 PM
RE: cookies get RED X - trx - 09-16-2011, 09:19 AM
RE: cookies get RED X - pmeenan - 09-17-2011, 12:58 AM
RE: cookies get RED X - trx - 09-17-2011, 01:35 AM
RE: cookies get RED X - pmeenan - 09-17-2011, 01:46 AM
RE: cookies get RED X - trx - 11-30-2011, 09:04 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)