tListener('click', () => {
            fetch('network-first-404.txt').catch(() => {});
          });

          staleWhileRevalidate.addEventListener('click', () => {
            fetch('stale-while-revalidate.txt').then((response) => {
              return response.text();
            });
          });
        });
      });
    </script>

    <a href="https://developers.google.com/web/tools/workbox/modules"
      >Back to Demos</a
    >

    <p>
      <a href="https://developers.google.com/web/tools/workbox