Google is developing numerous APIs intended to enhance the world-wide-web system, which include APIs for mechanically launching world-wide-web apps and opening information. These APIs must ultimately discover guidance in all foremost browsers.
A declarative website link capturing API, thanks soon, will enable an set up world-wide-web app to launch mechanically when a person clicks on an proper website link. The API could prevent several circumstances of the exact same app from opening, so people do not have to deal with possibly 10 circumstances of the exact same world-wide-web app, explained Ben Galbraith, of Google’s Chrome workforce, throughout a May perhaps 18 presentation on the world-wide-web system.
Other new world-wide-web system APIs in the operates at Google involve:
- A file managing API to permit world-wide-web apps to be registered as file kind handlers, enabling people to open information specifically in a world-wide-web app from OS file browsers. An experimental release of this API is planned for later on this yr.
- A prerendering API, also planned for later on in 2021, for developers to experiment with prerendering on exact same-site preloading. Prerendering is a technique for loading all of a webpage’s sources, which include rendering the DOM, in advance of the person clicks on the page’s website link, for prompt display. Prerendering is tricky to get ideal, with possible aspect results which include leaking some person information and facts if accomplished across websites, Galbraith explained. But if accomplished properly, prerendering gives a highly effective, prompt simply click-via knowledge for the person. New techniques to prerendering are becoming created that are private and risk-free.
- Doc changeover APIs, soon to be out there as Chrome origin trial experiments, will guidance graphical transitions involving factors, to enable a person to perceive a seamless knowledge when going involving states of a world-wide-web app.
- A WebGPU API to increase graphics performance on the world-wide-web. Google is operating with the graphics and world-wide-web communities on WebGPU, which is nonetheless experimental.