aboutsummaryrefslogtreecommitdiff
path: root/_includes
diff options
context:
space:
mode:
authorRoss Allen <[email protected]>2013-11-04 22:11:57 -1000
committerRoss Allen <[email protected]>2013-11-04 22:11:57 -1000
commit38d689491033cc3a95b7ac74999f34428a837895 (patch)
treed5e4f3256a06476e79f6da5d4c93d517451ee620 /_includes
parent13b96677bacf3de360a762d11ad0e0007f0710da (diff)
downloadbootstrap-38d689491033cc3a95b7ac74999f34428a837895.tar.xz
bootstrap-38d689491033cc3a95b7ac74999f34428a837895.zip
Serve jQuery from cookie-free Google APIs
jQuery.com uses Google Analytics and so sets a cookie when you visit the site. When you request jquery.js from its CDN, code.jquery.com, you take a hit from sending your previous GA cookie in the request. Google Hosted Libraries[1] and googleapis.com never set cookies. [1] https://developers.google.com/speed/libraries/devguide
Diffstat (limited to '_includes')
-rw-r--r--_includes/footer.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/_includes/footer.html b/_includes/footer.html
index 7f9f8f103..6deb13192 100644
--- a/_includes/footer.html
+++ b/_includes/footer.html
@@ -1,7 +1,7 @@
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
-<script src="https://code.jquery.com/jquery-1.10.2.min.js"></script>
+<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script src="{{ page.base_url }}dist/js/bootstrap.js"></script>
<script src="http://platform.twitter.com/widgets.js"></script>