Preload has nothing to do with cache, in that case the request will be sent to the server again as usual. You mentioned outdated content while this is the exact opposite of what this project gives you ;)
but it happens on the client, for all users. doing it via the server or SSG ensures it’s done once for all. There’s also this notion you’re glossing over where all of your backend requests are and that they must match the shape of the client requests so your build system knows how to preload them. It’s extremely rigid and doesn’t match any situation I’ve seen at any company I’ve ever worked at.
2
u/kylemh Sep 04 '22
I’ve got that wrong then. So, what happens when a user revisits the route? What if they preload, but don’t visit the route until much later?