Hacker News new | ask | show | jobs
by Raphmedia 3498 days ago
Lazy loading done well is invisible for the user. You preload things as users scroll down and when user hover / click on one of the anchors.
1 comments

That doesn't work for those ctrl+f'ing for a specific property.

I'd probably do a full load for the text, with specifying the height for the examples inline, and then lazy-render the examples once they're visible.

You could have all content just unstyled (apart from sections heights) and enable the style for each section as it comes into view.

The problem with this site is not that it has too much context. Just too much new and crazy styles.

You would still need all the text to be in the markup for SEO purposes anyway.
Like how wikipedia does it? Full content but mostly collapsed.