Google engineers revealed in February 2019 that they were working on a new feature in Chrome that would speed up the backward and forward browsing behavior of the browser.
Google wanted to improve the performance of back and forward operations in the company's Chrome web browser and designed a cache that would keep pages in memory so that they could be displayed more quickly in the browser when users activated the back or forward buttons.
The feature had not been implemented in Chrome at that time, not even in Chromium or Chrome Canary. A recent update of Google Chrome Canary introduced a new flag in the browser that controls the caching feature; it is disabled by default but may be enabled by users. The feature will become available on all supported operating systems that Chrome is available on with the exception of Apple iOS.
Google notes that the flag has been implemented mainly for development purposes and that users who don't work on the feature should not enable it because it could break various functionality.
Enables back-forward cache. NOTE: this feature is highly experimental and will lead to various breakages, up to and including user data loss. Do not enable unless you work on this feature – Mac, Windows, Linux, Chrome OS, Android
We did not notice any breakage during tests but your mileage may vary especially if you work with forms or other interactive content in Chrome and use the functionality.
Here is how you enable the cache:
Google Chrome will load pages from a memory cache once enabled when a user activates back or forward buttons or functionality in the browser which may speed up the performance of the process by up to 19% according to Google.
Chrome users need to be aware that the browser will load the page from memory (cache) and not from the site; this may lead to freshness issues if site content changed in the meantime. The only option at this point is to reload the page to get the updated content.
Chrome is not the only browser that uses a cache to speed up back and forward navigation. Both Firefox and Safari use similar techniques to speed up these operations in the respective browsers.
The new cache will impact Chrome's memory usage as more data needs to be stored in memory. It is too early to tell by how much the browser's memory usage will increase once a stable version of the feature lands in Chrome.
Now You: Do you mind more memory usage if features speed up the browser? (via Techdows)Advertisement
Ghacks is a technology news blog that was founded in 2005 by Martin Brinkmann. It has since then become one of the most popular tech news sites on the Internet with five authors and regular contributions from freelance writers.