diff options
| author | Jannis Leidel | 2013-11-23 09:39:56 -0800 |
|---|---|---|
| committer | Jannis Leidel | 2013-11-23 09:39:56 -0800 |
| commit | 7d24008ac3d70796c1502215c665311d2f21d6fd (patch) | |
| tree | f590558d6cd521768891679c7b753107d24d4027 /docs | |
| parent | 3209c8e6a59b34dcd9ba2c212694bb4dd993d075 (diff) | |
| parent | 98ff8bd7e589f9ec714fd9145527ce962c76dd86 (diff) | |
| download | django-debug-toolbar-7d24008ac3d70796c1502215c665311d2f21d6fd.tar.bz2 | |
Merge pull request #471 from aaugustin/stop-bundling-jquery
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 -------------------------- |
