Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Performance Audit 2017: Beacon: Review cookie access #173
Boomerang and its plugins are getting/setting the page's cookie several times during the
In most browsers, getting and setting the cookie is a possibly-slow operation, since it often involves reading or writing state to the disk.
We should investigate if all of these gets/sets are necessary and combine/eliminate any extraneous ones.
There are two things we've optimized for cookies: the size, and how often we're getting/setting.
The size improvements are already available in 8eea1d7
We've also improved the number of reads/writes we do in Boomerang, and this will be backported here within a few weeks.