From 98ff8bd7e589f9ec714fd9145527ce962c76dd86 Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Sat, 23 Nov 2013 15:57:51 +0100 Subject: Stop bundling jQuery. --- docs/tips.rst | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'docs/tips.rst') diff --git a/docs/tips.rst b/docs/tips.rst index 25aed5e..46a03f7 100644 --- a/docs/tips.rst +++ b/docs/tips.rst @@ -13,6 +13,20 @@ requests and return responses. Putting the debug toolbar middleware *after* the Flatpage middleware, for example, means the toolbar will not show up on flatpages. +Using the toolbar offline +------------------------- + +The Debug Toolbar depends on the jQuery_ library. If jQuery isn't already +loaded in your page, the toolbar loads it from the Google Hosted Libraries +CDN. Your browser will keep it in cache, allowing you to use the toolbar even +if you disconnect from the Internet temporarily. + +If you want to use the Debug Toolbar without an Internet connection at all, or +if you refuse to depend on Google's services, you should include your own copy +of jQuery on every page. + +.. _jQuery: http://jquery.com/ + Performance considerations -------------------------- -- cgit v1.2.3