I have an extension that modifies headers of some requests when certain page is being loaded.
However some pages are using Service worker to cache resources, and these requests (handled by Service worker) are then not modified by my extension, because they are coming from the Service worker cache.
Clearing cache helps, but can I do this from extension?
Stopping service worker would help as well, maybe I can do this instead? (let’s assume in this case that the service worker is not really needed)