• Skip to main content
  • Skip to secondary menu
  • Skip to primary sidebar
  • Skip to footer
WebSetNet

WebSetNet

Technology News

  • Technology News
    • Mobile
    • Games
  • Internet Marketing
  • System Admin
    • Windows 11
    • Linux
    • Mac & Apple
    • Website Scripts
      • Wordpress
You are here: Home / Technology News / Google Chrome is testing larger cache sizes to increase performance

Google Chrome is testing larger cache sizes to increase performance

December 27, 2020 by bartez64

Google Chrome

Google is experimenting with increased storage for the browser cache to reduce the performance hit caused by the recently added partitioned cache feature.

Before Chrome 85, the browser used a single storage bucket to store cached resources, such as images, audio, video, and HTML content for all pages that you have previously visited. When Chrome opens a web page, it will check if requested resources are stored in the cache, and if they are, load it from the local disk rather than download it from a remote server.

Using a single shared storage bucket for all cached resources, though, opens up a range of side-channel attacks that could allow sites to perform malicious activity.

"This opens the browser to a side-channel attack where one site can detect if another site has loaded a resource by checking if it’s in the cache. That sounds innocuous, but it can be used for many nefarious deeds such as discovering what’s in your inbox, contacts, etc.," Google Chrome engineers Josh Karlin and Shivani Sharma explain in a document on cache partitioning.

To prevent these side-channel attacks, Google added a new feature to Chrome 85 that partitions the browser's disk cache so that each site utilizes its own cache that cannot be read by other sites.

Cache partitioning decreases performance

When Google tested this new feature, they found that it cause small performance hit, but it was outweighed by the security benefits.

"Early (canary/dev) results using top-frame-site show that the impact isn’t nearly as bad as feared. The cache hit rate drops by about 4% but changes to first contentful paint aren’t statistically significant and the overall fraction of bytes loaded from the cache only drops from 39.1% to 37.8%. This may change as we progress to beta and stable but it seems like an encouraging start," the Google engineers stated.

This performance hit is caused by resources previously shared among all sites now having to be downloaded for every site that uses them.

To improve this feature's performance, Google is experimenting with increased disk cache sizes to prevent resources from being evicted from the cache to quickly.

"Add code to enable experimentation of different http cache sizes. Now that cache will be partitioned, it makes sense to see if increasing the cache size helps offset some performance impact by lowering the eviction rate," Sharma explained in a Chrome Gerrit post.

As part of this test, the browser's performance will be measured at different disk cache sizes to see if increasing them to larger values positively impacts performance. During this test, Google plans on testing cache storage that is 2x, 2.5x, and 3x the normal cache size.

Portion of source code used in Chrome experiment
Portion of source code used in Chrome experiment

Google is hoping that increasing the disk cache size will reduce the number of times the browser has to remove older cached items as storage runs out. This increased storage would then potentially increase the number of cached items at one time and improve web browsing performance.

It is unknown if this change is being tested in Google Chrome Canary builds or internal builds.

Update 12/26/20: According to Eric Lawrence, Microsoft Edge program Manager for the web platform, Google does not test new feature in internal builds. Instead they conduct field trials in the Canary, Beta, and Dev builds to determine whether a tested feature achieves the desired results.

Lawrence told BleepingComputer that this particular field trial is not yet live as Sharma is likely waiting for approval from the metrics code owner, which this trial will be added to.

Original Article

Related posts:

  1. Intel releases last Haswell IGP drivers for Windows 7 and 8
  2. How to turn on dark mode in Google apps (Update: Now including more apps)
  3. Best Web Hosting Providers
  4. Running out of storage? Try these tips to free up space on Windows 10
  5. Best WordPress Cache Plugin 2019
  6. The Best WordPress Caching Plugins – WordPress Plugin For Cache Clear
  7. Best Proxy Sites – List of Top 27 Proxy Servers
  8. Best Caching Plugin for WordPress to Clear Website Cache
  9. Google Pixel 5 review: The best Pixel ever
  10. Google Home tips and tricks: Master your Mini, Max, Hub and Hub Max

Filed Under: Technology News Tagged With: cache, chrome, google, larger, sizes, testing

Primary Sidebar

Popular posts

  • 5 Ways to Fix “Your SIM sent a Text Message” Issue on iPhone
  • 3 Ways to Disable GetApps on Xiaomi, Redmi, and Poco Phones Running MIUI
  • GeForce Experience not finding games? Fix it fast
  • How To Extract & Install tar.gz Files In Ubuntu
  • Discord Stream Has No Sound? 6 Ways to Fix
  • How to Highlight Duplicates in Google Sheets
  • How to check if your Android device supports Widevine DRM
  • 8 Best Sites to Read Manga Online for Free
  • 3 Ways to Hide Tabs in Google Chrome
  • Exclamation Mark on Network Signal, Mobile Data Not Working? 8 Ways to Fix
  • How to find a lost Apple Pencil using your iPad (1st and 2nd gen)
  • How to Track a Stolen or Lost Nintendo Switch
  • How to Fix YouTube Server Connection Error [400] on Android
  • What is Android System Intelligence, and why is it on your phone?
  • How to Change the Last Modified Date, Creation Date, and Last Accessed Date for Files and Folders
  • How To Search On Google Using Image or Video
  • Microsoft Edge's newest feature? Shopping in Microsoft Edge

Footer

Tags

Amazon android Apple Asus available download: edge feature features first free from galaxy Game games gaming gets google install Intel iPhone launches linux Microsoft more OnePlus phone release released review: samsung series support this Ubuntu update using video watch what will windows with xbox your

Archives

  • September 2023
  • August 2023
  • July 2023
  • June 2023
  • May 2023
  • April 2023
  • March 2023
  • February 2023
  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • September 2021
  • August 2021
  • July 2021
  • June 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org