JavaScript: Conditional JavaScript, only download when it is appropriate to do so Last updated: 16th December 2020 Intro In this post, I'd like to share a few techniques which you can use for selectively downloading/executing resources such as JavaScript. As an example, if the users device does not have a lot a RAM, you could decide to skip the downloading (and in turn, the parse + execution costs