Does Discourse already implement "just-in-time preloading"?

Just like how this script works:

AFAIK, Discourse has always had just-in-time loading of topics. It is the first item on the feature list:

Since 2018, Discourse also has just-in-time loading of images:

3 Likes

Yep, there’s nothing novel here.

Nope - what the OP is referring to - InstantPage - preloads links on hover/touch start. This essentially preloads pages while the hover is happening so that users feel like they load instantly when clicked, compared to a few seconds normally. This is similar to Google’s quicklink although that loads links in your viewport.

I’m trying to get this to work via a plugin but we ran into some issues with headers.

3 Likes