This page contains a form. The form has a method of POST and an action of
redirect.php …a file that contains just one line of PHP:
The Service Worker correctly ignores the initial POST submission from this page (see line 116 of the Service Worker script). But then, when
redirect.php forwards the user to
success.php, the Service Worker intercepts that request and instead of fulfilling it, shows
/offline instead (either line 121 or 142 of the Service Worker script).
Submitting the form results in the user being redirected to
Submitting the form results in the user seeing