From ff190fffc302e34fe0127cd2d81e8362db3be1b1 Mon Sep 17 00:00:00 2001 From: Timothy Allen Date: Wed, 7 Nov 2018 09:13:09 -0500 Subject: [PATCH] Add tip about browser caching. (#1113) More than once, I've spent time tweaking settings, when all I really needed to do was a hard refresh after an upgrade to force the JavaScript to reload. Mentioning this in the documentation. --- docs/tips.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/tips.rst b/docs/tips.rst index b639cfa5f..85c29b2fd 100644 --- a/docs/tips.rst +++ b/docs/tips.rst @@ -14,6 +14,10 @@ requests and return responses. Putting the debug toolbar middleware *after* the Flatpage middleware, for example, means the toolbar will not show up on flatpages. +Browsers have become more aggressive with caching static assets, such as +JavaScript and CSS files. Check your browser's development console, and if +you see errors, try a hard browser refresh or clearing your cache. + Middleware isn't working correctly ----------------------------------