The Sapper version is cheating a little. It is preloading the pages on mouseOver events of the links.
Incidentally, 'cheating' is a bit of a silly word to use for a feature designed to improve UX that people spend a lot of time trying to implement (see e.g. http://instantclick.io/)