optimization - Cookies: More but smaller or less but bigger? -


regarding web optimization, load-time, speed performance , assuming data size equal:

is faster have more cookies smaller, or less cookies bigger?

for technically inclined: more efficient concat values separated known delimiter resulting in larger cookie size, or have smaller cookies containing single values?

and sake of argument, let's assume we're not in danger of exceeding 4k/20 cookie limit =)

thanks!


edit: thread didn't come in searches, apparently asks same question apologize repost:

in website, setting 1 cookie better setting many single cookies?

imho, answers seem vague , contradict, maybe there no clearcut answer here. nice have empirical benchmark data or technical basis answer, might ask =)

each cookie has additional attributes, expiration date. if don't have change cookie each time, i'ld go 1 cookie containing data.


Comments

Popular posts from this blog

unicode - Are email addresses allowed to contain non-alphanumeric characters? -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

c++ - Convert big endian to little endian when reading from a binary file -