This code example is explained in https://blog.yld.io/2017/03/01/optimize-with-http-2-server-push-and-service-workers.
(Image: This example with a valid certificate and cached resources - The two pushed resources are cached and later retrieved from disk cache, when Service Worker tries to request them.)
yarn install
npm start