According to a report by VentureBeat, Google is now speeding some search queries by two times by using Service Workers, which is a script that is used by your browser in the background. Currently, this is only working on Chrome for Android running version 62 or up, says Google.
Dion Almaer, Google director of engineering, and Ben Galbraith, Google senior director of product said last week at Pluralsight Live in Salt Lake City, Utah that this was the “largest deployment of Service Worker probably out.” They were able to get Service Worker to “give you results sometimes twice as fast” by caching repeated searches to serve to users faster.
“A lot of it is to do with optimizing the Service Worker pipeline, how quickly can it start up and do its thing, networking stack — low-level stuff,” Almaer told VentureBeat. “Given how finely tuned Search is, there was just a lot of work with the team to really optimize all those powerful ways to give it a bigger bang for buck.”