The mobile browser does a lot of speculative prefetching. Since the service worker was setup to act only after a user clicks a link, these prefetch requests are not intercepted and modified. After clicking the link, the browser immediately presents prefetched (unaltered) content, even though another request is sent and intercepted by service worker.