New issue
Advanced search Search tips

Issue 773731 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Dec 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Feature



Sign in to add a comment

Add Feature: A way to Turn off a Service Worker for a set time

Reported by bustyasi...@gmail.com, Oct 11 2017

Issue description

UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3236.1 Safari/537.36

Steps to reproduce the problem:
Hi Chrome Team,

Please could you add a feature in the Dev Tools where we could turn off a Service Worker from a specific website.

For example when I go to Facebook they have a service worker running which is caching all my timeline and News Feed. I don't want this and I would like to instead of getting cached (old) posts, I would like to have all the latest posts.

In this situation, I would like to just turn off the SW in Facebook for a set time, instead of going into Dev Tools and clicking 'unregister' because later on the SW will re-register.

Of course having this feature where you could turn off a SW forever would be a problem and you could add a feature that could be like this:

Turn off SW for this website for:
1 Hour
1 Day
1 Week
Forever until user turns back on

What is the expected behavior?
Possible Feature Add-on

What went wrong?
Currently there is no feature to turn off a problem service worker for a long period of time. 

Service Worker are great when they are coded right, but some websites their use is problematic.

An example of a problematic setup would be when a the user needs to have a fresh version instead of a cached version for example and is always fighting to try and turn off the SW.

Did this work before? N/A 

Chrome version: 63.0.3236.1  Channel: n/a
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
Flash Version:
 
This feature would also work good for developers that want to temporary turn-off a service worker when developing a website in production mode and need to hit a hard refresh.
Components: -UI Blink>ServiceWorker
Labels: -Type-Bug Type-Feature

Comment 3 by falken@chromium.org, Oct 11 2017

Components: Platform>DevTools
Labels: -OS-Windows -Pri-2 Pri-3
Status: Available (was: Unconfirmed)
cc DevTools, but this doesn't sound like something we'd bake into Dev Tools, as the use case cited is for user experience, not website development. You should also be able to just use DevTools -> Application -> Service Workers -> Bypass for network (but beware  issue 746220 ).
Status: WontFix (was: Available)
Not implementing due to lack of priority / resources

Sign in to add a comment