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

You can get the network type or downlink speed in Firefox and Chrome using NetworkInformation interface: https://developer.mozilla.org/en-US/docs/Web/API/NetworkInfo...

Then you can lazy load your assets depending on that condition.



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

Search: