TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Async Fragments: Rediscovering Progressive HTML Rendering

21 pointsby plurbyover 9 years ago

2 comments

carsongrossover 9 years ago
A similar technique (albeit a poor-mans version) that I use when I have an expensive bit of HTML to render is to load a div after the initial page has completely rendered, using intercooler.js:<p><a href="http:&#x2F;&#x2F;intercoolerjs.org&#x2F;examples&#x2F;lazyload.html" rel="nofollow">http:&#x2F;&#x2F;intercoolerjs.org&#x2F;examples&#x2F;lazyload.html</a><p>You can throw an indicator in there too, to let users know what is going on.
bsderover 9 years ago
Gee, this would all go away if they would let the browser <i>render the damn website</i> instead of layering <i>everything</i> behind Javascript.<p>You can load all the garbage you want with Javscript after the content is rendered and <i>nobody will care</i>.