Conditional JavaScript

This has some awesome advice on how to conditionally load JavaScript (a.k.a, progressively enhance) based on…

  • device RAM
  • device CPU
  • available battery
  • available storage, and
  • network conditions