A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/GoogleChrome/workbox/issues/3077 below:

Service worker responds slowly (10 seconds) when many query parameters are present · Issue #3077 · GoogleChrome/workbox · GitHub

Library Affected:
workbox-strategies

Browser & Platform:
Google Chrome v101.0.4951.41

Issue or Feature Request Description:

On a site using the PWA plugin for WordPress, which includes Workbox, the service worker is taking 10 seconds for the NetworkFirst strategy to respond to requests for URLs that have many query parameters.

Steps to reproduce:

  1. Go to https://www.sensorsone.com/ and let the service worker install
  2. Try reloading the page and see it only takes a couple seconds.
  3. Now try going to the same URL with many query parameters, and notice that the response from the service worker takes over 10 seconds.
  4. Now in the Application tab of DevTools, enable "Bypass for Network" and reload the same URL with many query parameters. Now the response is returned relatively quickly as in the first step.

Originally reported on the WordPress plugin support forum


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4