Google Chrome·100 questions

How to configure Chrome to work with the Web Background Fetch API?

Answer

Configuring the Google Chrome browser to work with the modern Web Background Fetch API provides the ability to perform long-running file downloads in the background, even if the user has closed the tab with the site. The standard flags menu is used to activate this capability.

Open the Google Chrome browser, type the internal command chrome://flags in the address bar, and go to the experimental features configuration page.

Use the built-in search bar on the flags page and type Background Fetch to find the corresponding programming interface.

In the search results, find the parameter named Background Fetch API and switch its state to Enabled.

Save the changes and reboot the browser by clicking the corresponding button at the bottom of the screen.

For full testing and use of background downloads, your site must run over the secure HTTPS protocol.

This technology was created specifically to organize reliable background downloads of large volumes of data, such as video files, updates, or archives. The feature is especially useful for progressive web applications, helping them work just as stably and autonomously as traditional native programs for computers or smartphones.

Was this answer helpful?

More questions in this topic

Related questions from other topics