Using the app shell model and service worker to render the initial route