Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can cookie size affect loading speed? (PHP)

Tags:

php

cookies

My website sets and loads cookies that are 200 characters long. Is this too much? Can it possible affect the loading speed? How much?

like image 957
webnat0 Avatar asked Dec 13 '22 15:12

webnat0


1 Answers

Information about cookies is exchanged between the user's browser and the server and therefore does impact the user's response time and loading speed. I'm not quite sure if 200 characters will make a 'huge' impact though. Check the table about cookie size and response time here:

When the cookie crumbles.

Hope that helps, good luck.

like image 133
Joris Ooms Avatar answered Dec 27 '22 13:12

Joris Ooms