diff options
| author | Aymeric Augustin | 2013-11-23 15:57:51 +0100 | 
|---|---|---|
| committer | Aymeric Augustin | 2013-11-23 15:57:51 +0100 | 
| commit | 98ff8bd7e589f9ec714fd9145527ce962c76dd86 (patch) | |
| tree | f590558d6cd521768891679c7b753107d24d4027 /docs | |
| parent | 3209c8e6a59b34dcd9ba2c212694bb4dd993d075 (diff) | |
| download | django-debug-toolbar-98ff8bd7e589f9ec714fd9145527ce962c76dd86.tar.bz2 | |
Stop bundling jQuery.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/tips.rst | 14 | 
1 files changed, 14 insertions, 0 deletions
| 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  -------------------------- | 
