Current time: 09-20-2019, 12:44 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Proper cookie usage
08-12-2010, 07:45 PM
Post: #1
Proper cookie usage
Hi,
i want to ask what do I have to do to have checked "Proper cookie usage". Is there something in htaccess (for images/scripts/styles..) I should add?
Find all posts by this user
Quote this message in a reply
08-12-2010, 08:52 PM
Post: #2
RE: Proper cookie usage
I'm not sure I would worry too much about it but if you need that last few milliseconds you need to split your dynamic (needs the cookies) content and static (css, js, images) into separate domains and make sure the "static domain" never has cookies set on it.

It's much easier to pull off if you are also using a CDN and need to split off your static resources anyway.

Since cookies are uploaded with every request (and the upstream bandwidth is usually slower for users) you can save some time by only having cookies sent when you really need them. That said, for most sites there is usually quite a bit of lower-hanging fruit to fix first and the ROI for the cookies may not be worth it.
Visit this user's website Find all posts by this user
Quote this message in a reply
08-12-2010, 08:54 PM
Post: #3
RE: Proper cookie usage
but for example site http://www.opera.com doesn't use CDN, has pictures on same domain and still has "Proper cookie usage" on them checked. How?
Find all posts by this user
Quote this message in a reply
08-13-2010, 01:17 AM
Post: #4
RE: Proper cookie usage
Because they don't set any cookies at all when you navigate to http://www.opera.com :-)
Visit this user's website Find all posts by this user
Quote this message in a reply
08-13-2010, 03:24 AM
Post: #5
RE: Proper cookie usage
oh, that would be it =) thank you very much!
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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