Get to know MDN better
This feature is not Baseline because it does not work in some of the most widely-used browsers.
Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
Note: This feature is available in Web Workers.
The BackgroundFetchManager interface of the Background Fetch API is a map where the keys are background fetch IDs and the values are BackgroundFetchRegistration objects.
None.
Returns a Promise that resolves with a BackgroundFetchRegistration object for a supplied array of URLs and Request objects.
get()Returns a Promise that resolves with the BackgroundFetchRegistration associated with the provided id or undefined if the id is not found.
getIds()Returns the IDs of all registered background fetches.
The example below shows how to get an instance of BackgroundFetchManager from a ServiceWorkerRegistration object and calls fetch() to download an audio file in the background.
| Background Fetch # background-fetch-manager |
Enable JavaScript to view this browser compatibility table.
This page was last modified on May 7, 2024 by MDN contributors.
Your blueprint for a better internet.
Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.