Have a voice in guiding the future of Google's developer brands. Share your thoughts in our survey.

Module: workbox-broadcast-update

Classes

Method

responsesAreSame

static

responsesAreSame(firstResponse, secondResponse, headersToCheck) returns boolean

Given two Response's, compares several header values to see if they are the same or not.

Parameter

firstResponse

Response

secondResponse

Response

headersToCheck

Array of string

Returns

boolean