New Update Google Chrome reduced cookie requests to improve performance


Level 79
Thread author
Honorary Member
Top Poster
Content Creator
Apr 24, 2016
Google shared details on a recently introduced Chrome feature that changes how cookies are requested, with early tests showing increased performance across all platforms.

In the past, single-process browsers managed cookies easily because the data was kept in memory. However, modern browsers like Chrome use multiple processes to improve performance and security.

Chrome runs a new process for every window and several other features. This means the method that handles cookies has to deal with more queries, which can slow things down.

Google found that repeated requests for cookies caused many slow interactions in Chrome.

"We discovered through field traces of slow interactions that some websites were triggering inefficient scenarios with cookies being fetched multiple times in a row," Google noted in a blog post.

"We landed additional metrics to measure how often a GetCookieString() IPC was redundant (same value returned as last time) across all navigations."

"We were astonished to discover that 87% of cookie accesses were redundant and that, in some cases, this could happen hundreds of times per second."

In some cases, especially when multiple sites made rapid requests simultaneously, these requests happened hundreds of times per second, causing significant delays. Ultimately, the old way of fetching cookies synchronously (one at a time) from the network service was causing a bottleneck.

To fix this, Google introduced a new system called Shared Memory Versioning, which was enabled by default in March.

Instead of constantly checking with the network service, Chrome now keeps a local copy of the cookie data and its version number.

This allows Chrome to check if a cookie has the latest data without making repeated requests.

About us

  • MalwareTips is a community-driven platform providing the latest information and resources on malware and cyber threats. Our team of experienced professionals and passionate volunteers work to keep the internet safe and secure. We provide accurate, up-to-date information and strive to build a strong and supportive community dedicated to cybersecurity.

User Menu

Follow us

Follow us on Facebook or Twitter to know first about the latest cybersecurity incidents and malware threats.