Skip to content

Commit 695cdb2

Browse files
Highlighted docs on disabling browser caching. (#2302)
1 parent 5269302 commit 695cdb2

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

docs/changes.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ Pending
1414
* Expose a ``py.typed`` marker file.
1515
* Updated ``RedirectsPanel`` to emit the deprecation warning when it's used
1616
rather than on instantiation.
17+
* Highlighted the documentation about disabling the browser's caching to
18+
ensure the latest static assets are used.
1719

1820
6.2.0 (2026-01-20)
1921
------------------

docs/tips.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,14 @@ requests and return responses. Putting the debug toolbar middleware *after* the
1616
``FlatpageFallbackMiddleware`` middleware, for example, means the toolbar will
1717
not show up on flatpages.
1818

19+
Check your browser's caching
20+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
21+
1922
Browsers have become more aggressive with caching static assets, such as
2023
JavaScript and CSS files. Check your browser's development console, and if
21-
you see errors, try a hard browser refresh or clearing your cache.
24+
you see errors, try a hard browser refresh or clearing your cache. There
25+
should be an option on the network panel to disable caching, enable that
26+
at least temporarily to make sure you're using the latest static assets.
2227

2328
Working with htmx and Turbo
2429
----------------------------

0 commit comments

Comments
 (0)