Edit

Share via


PrefetchWithServiceWorkerEnabled

Allow SpeculationRules prefetch for ServiceWorker-controlled URLs

Supported versions

  • On Windows and macOS since 138 or later

Description

Controls whether SpeculationRules prefetch requests are allowed for ServiceWorker-controlled URLs.

Starting with Microsoft Edge version 138, prefetch requests to ServiceWorker-controlled URLs are allowed by default when the PrefetchServiceWorker feature is enabled.

If this policy is enabled or not configured, that default behavior is used.

To restore the legacy behavior from versions prior to 138, where prefetch requests to ServiceWorker-controlled URLs were blocked, set this policy to disabled.

This policy is intended to be temporary and will be removed in the future.

Supported features

  • Can be mandatory: Yes
  • Can be recommended: No
  • Dynamic Policy Refresh: No - Requires browser restart
  • Per Profile: Yes
  • Applies to a profile that is signed in with a Microsoft account: No

Data type

  • Boolean

Windows information and settings

Group Policy (ADMX) info

  • GP unique name: PrefetchWithServiceWorkerEnabled
  • GP name: Allow SpeculationRules prefetch for ServiceWorker-controlled URLs
  • GP path (Mandatory): Administrative Templates/Microsoft Edge
  • GP path (Recommended): N/A
  • GP ADMX file name: MSEdge.admx

Example value

Enabled

Registry settings

  • Path (Mandatory): SOFTWARE\Policies\Microsoft\Edge
  • Path (Recommended): N/A
  • Value name: PrefetchWithServiceWorkerEnabled
  • Value type: REG_DWORD

Example registry value

0x00000001

Mac information and settings

  • Preference Key name: PrefetchWithServiceWorkerEnabled
  • Example value:
<true/>

See also