Brian Armstrong
Brian Armstrong

Reputation: 19863

Is there overheard to changing a cookie value on each request

Let's say we set a "last request at" timestamp in a cookie on each request. Is there additional overheard to updating this in terms of more data sent over the wire, or do the cookies have to get sent over the wire on each request anyway?

Upvotes: 0

Views: 66

Answers (2)

Martin
Martin

Reputation: 6687

They are only sent from the client on every request, so you will have a small additional overhead from the server.

You're able to test this by watching the headers in the "Network" tab of Chrome, or Firefox with Firebug (or livehttpheaders).

Upvotes: 1

Brian Hannay
Brian Hannay

Reputation: 600

The cookies must be sent anyway.

Upvotes: 0

Related Questions