Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

There are two ways:

1. Serve the AMP version of your page (https://www.ampproject.org) which uses lazy loading and other optimizations

2. Use the Network Information API (https://developer.mozilla.org/en-US/docs/Web/API/NetworkInfo...) to load heavy assets only on high bandwidth connections.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: