05 February 19, 11:30
Quote:A new commit on the Chromium development site suggests that Google is testing a new feature for Chrome called Never Slow Mode designed to speed up the loading of webpages.Full reading: https://www.ghacks.net/2019/02/05/google...in-chrome/
Websites have grown in size significantly over the years. A KeyCDN analysis found that the average webpage size increased from about 700 Kilobytes in 2010 to 2300 Kilobytes in 2016.
Internet speeds on the other hand have not increased nearly as much in that time in many regions and the same is true for computing resources; this leads to longer loading and processing times.
Google published prototype code recently on the Chromium development site that addresses some of that. The main idea behind Never Slow Mode is to introduce budgets for certain types of resources.
Quote:Currently blocks large scripts, sets budgets for certain resource types (script, font, css, images), turns off document.write(), clobbers sync XHR, enables client-hints pervasively, and buffers resources without `Content-Length` set. Budgets are re-set on interaction (click/tap/scroll). Long script tasks (> 200ms) pause all page execution until next interaction.
Values tested right now include limits for stylesheets, images, scripts, and fonts. Stylesheets for instance are limited to a size of 100 Kilobytes and images to a total image budget of 2 Megabytes.