Hacker News new | ask | show | jobs
by yuribit 2760 days ago
A nice way to improve the time-to-interactive is to prefetch the framework after you load an initial basic page.

Here's Addy Osmani explaining how it works: https://medium.com/dev-channel/a-netflix-web-performance-cas...

1 comments

Used that on my first Ajax app. It was authenticated so we pruned the JS on the login page like crazy and added a script that injected the main bundle into the page after page ready.

Worked great for everybody not using a password manager...