New Caching Change Could Dramatically Accelerate Google Chrome
Google is exploring a new method of improving site performance in Google Chrome, this time by adding a new back-caching feature that would keep certain data in memory, even after you’ve left a site. The company writes:
A back/forward cache (bfcache) caches whole pages (including the JavaScript heap) when navigating away from a page, so that the full state of the page can be restored when the user navigates back. Think of it as pausing a page when you leave it and playing it when you return.
The company states that this feature could improve performance by up to 19 percent in mobile Chrome, and by 10 percent on desktop PC based on the number of site interactions that represent a back/forward usage pattern. This type of caching wouldn’t accelerate sites you visit on a regular basis or improve performance overall. It’s a specific change that would make it easier to surf when moving forward and back on the same site after having accessed it the first time.
According to Google, Chrome isn’t using the default WebKit implementation of a bfcache, due to incompatibilities with Google’s multi-process architecture. Google also has work to do on the browser, ensuring that JavaScript actually freezes on the page to be cached, rather than continuing to run in the background. Allowing background JavaScript to run from cached pages would be a significant privacy and security issue.
This is a feature that Firefox and Safari already use, albeit apparently in a somewhat different way. I tried comparing Chrome and Firefox in an ordinary desktop comparison, checking the load times on several sites in succession in the same manner as the videos on Google’s developer blog. Firefox may have outperformed Chrome slightly in these tests, but not enough for me to feel comfortable declaring it a winner, and it didn’t produce the same behavior as the Chrome test did for Google. The instant load of the previous page due to bfcache doesn’t seem to happen the same way. Then again, the video is supposed to show how the feature could work in the future, not serve as a final illustration of implementation.
These changes could increase RAM usage in Chrome, but Google plans to minimize this with smarter rules about when and how to keep data in RAM while pages are suspended. The goal is to implement the feature throughout 2019 and roll it into shipping Chrome in 2020.
Continue reading
Review: The Oculus Quest 2 Could Be the Tipping Point for VR Mass Adoption
The Oculus Quest 2 is now available, and it's an improvement over the original in every way that matters. And yet, it's $100 less expensive than the last release. Having spent some time with the Quest 2, I believe we might look back on it as the headset that finally made VR accessible to mainstream consumers.
Samsung, Stanford Built a 10,000 PPI Display That Could Revolutionize VR, AR
Ask anyone who has spent more than a few minutes inside a VR headset, and they'll mention the screen door effect. This could eliminate it for good.
NASA: Asteroid Could Still Hit Earth in 2068
This skyscraper-sized asteroid might still hit Earth in 2068, according to a new analysis from the University of Hawaii and NASA’s Jet Propulsion Laboratory.
Google Kills Free Photo Storage, Changes What Counts Toward Storage Caps
Google has announced some significant changes to Photos, especially if you use the service for automatic backup.