Hi, I'm trying to minimize page load time on PPV and am wondering how to get the quickest load time specifically from jquery.
1) Do you guys host it locally on your own servers or link to the google CDN?
2) If hosted locally, do you minify it further, and if so, with what?
3) If I'm using MaxCDN for static files, can I use it for these jquery scripts too?
Thank you!
Definitely link to the Google CDN.
Yup , google cdn is the way to go since most people have it cached from there.
my only advice about using the google one is.....if you are ....ahem doing stuff google doesnt like.....it just gives the bots a reason to come find you....loading off maxCDN is just as fast in most cases...just make sure its minified
and yes you should def load every js off the cdn....way quicker load times....
Cool. Thanks guys!
Maybe try this: www.slidedeck.com
So I'm playing around with loading jquery from the google APIs and when I run a page test in pingdom it shows my lander loading what seem to be a few unncessary/undesirable googley things:
![]()
Anyone else experience this? Is this a big deal?
How are you calling the jquery file? I tested my lander with pingdom and didn't get any of the extra stuff. I'm using the following
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
My half-baked theory is to use 1.4.2 because I believe it is the most widely used and has the best chance of being cached.
I'm using 1.4.2 too. I didn't realize I could call the file without using an API access key over their https connection. So that's probably the issue. Not sure why anyone would do that if it's available on a non-secure connection without registration...
Thanks!