I was reading an article I saw linked to from a blog I follow:
http://devblog.blackberry.com/2011/02/thanks-for-the-open-letter-to-rim-developer-relations/
Ironically, it’s a response to an open letter to RIM about how difficult it is to use their PlayBook developer tools. I was doing other things when I noticed that page will still loading, so I took a quick peak into the html, and saw this:
This should go without saying, but don’t do that! That’s not the only offense, but certainly the most costly in terms of loading a page. There is actually another section that reference jquery locally, so I’m not sure how that got in there, but it has a pretty huge negative impact to have to download the unminified version of jquery from jquery.com.
http://devblog.blackberry.com/2011/02/thanks-for-the-open-letter-to-rim-developer-relations/
Ironically, it’s a response to an open letter to RIM about how difficult it is to use their PlayBook developer tools. I was doing other things when I noticed that page will still loading, so I took a quick peak into the html, and saw this:
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script src="http://dev.jquery.com/view/trunk/plugins/validate/jquery.validate.js" type="text/javascript"></script>
This should go without saying, but don’t do that! That’s not the only offense, but certainly the most costly in terms of loading a page. There is actually another section that reference jquery locally, so I’m not sure how that got in there, but it has a pretty huge negative impact to have to download the unminified version of jquery from jquery.com.