ASP.Net Ajax payload size compared to jQuery
Let me start off by saying this isn’t scientific, or possibly even accurate, but was pretty shocking at first glance. I wanted to take a look at what the true size of our pages were, so I brought up Chrome’s nice resource inspector and refreshed and average page from our intranet application. It was a bit shocking at first.
![]()
All that orange is javascript! Now, I know the browser is probably caching that, when it goes through IIS – Cassini won’t cache it—, butit still seems like a pretty big chunk, but it’s probably all the jQuery and jQuery plugins we’re using right?
Without the rest of the files, it’s hard to put that into perspective, but trust me ,that is pretty small. What about the plugins?
Those are pretty small too. All that javascript has to be somewhere right? What about ASP.Net Ajax?
I had to scale the image so it would fit, but there is a lot there. You may have noticed that we are using the min version of the jQuery file. Is the ASP.Net Ajax minified?
NOPE!
I haven’t really looked to see if it is possible to shrink that JS somehow, we’ll see about doing that soon.
No Comments »
RSS feed for comments on this post. TrackBack URL