MacMusic  |  PcMusic  |  440 Software  |  440 Forums  |  440TV  |  Zicos
page
Search

Google turbo-charging the back button with Chrome’s new “back/forward cache”

Thursday February 28, 2019. 02:20 AM , from Ars Technica
Enlarge / Now that's some shiny chrome. (credit: Marc Ellis / Flickr)
Google is developing a new cache for Chrome (via CNET) that should make some page loads extremely fast. The only catch? They'll have to be pages you've already seen and are revisiting after hitting the browser's back button.
Chrome already caches the files that make up a page, so revisiting a page in most circumstances shouldn't force the browser to retrieve the images, JavaScripts, and CSS that are used to build the page. But currently, the browser has to re-parse the HTML and re-build the page's programmatic representation, uncompress the images, re-execute all the JavaScript, reapply all the stylesheets, and so on. It's just the networking step that gets skipped.
The new bfcache (for 'back/forward cache') changes that: it lets the browser capture the entire state of a running page—including scripts that are in the middle of execution, the rendered images, and even the scroll position—and reload that state later. With bfcache, rather than having to reload the page from scratch, the page will look as if it was paused when you clicked a link to a new page and subsequently resumed when you hit back.
Read 4 remaining paragraphs | Comments
https://arstechnica.com/?p=1465915
News copyright owned by their original publishers | Copyright © 2004 - 2024 Zicos / 440Network
Current Date
Apr, Sat 27 - 02:33 CEST