SP cookie bloat
Cantor, Scott
cantor.2 at osu.edu
Mon Oct 24 12:53:34 UTC 2022
> Generally cookies are presented in creation time order, so the current
> implementation results in the oldest cookies being saved and the >newest cookies being purged?
I looked at the code again, and to the extent that you can count on the order at all (that's a common thing but it's not required by the RFC), the code is doing what I thought it did. It walks the list in reverse counting up to 20, and only starts purging at that point backwards. So it does remove the older ones, not the newer ones (unless the user agent just happens to not provide them in that order).
When the feature is redone, I might have to come up with a clearer ordering mechanism using the value.
-- Scott
More information about the users
mailing list