Service-Worker

We'd love to hear more about your role and the company you work for
Please help us by answering a few questions.

The HTTP Service-Worker request header is included in fetches for a service worker's script resource. This header helps administrators log service worker script requests for monitoring purposes.

Header type Request header
Forbidden request header No

Syntax

http
Service-Worker: script

Directives

script

A value indicating that this is a script. This is the only allowed directive for this header.

Specifications

Specification
Service Workers
# service-worker

Browser compatibility

See also