News for hackers. Stuff that matters.
Re:The web sucks if you have a slow connection by niutech on Friday February 10, 2017 @06:47AM (#13614722)
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.

There are no comments on this comment yet.