Skip to content

Commit

Permalink
[5.1.x] Added some heading labels to to docs/topics/cache.txt.
Browse files Browse the repository at this point in the history
Backport of 6d1cf53 from main
  • Loading branch information
timgraham authored and felixxm committed Mar 2, 2025
1 parent 558c616 commit 76a9f12
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/topics/cache.txt
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,8 @@ Unlike other cache backends, the database cache does not support automatic
culling of expired entries at the database level. Instead, expired cache
entries are culled each time ``add()``, ``set()``, or ``touch()`` is called.

.. _database-caching-creating-the-table:

Creating the cache table
~~~~~~~~~~~~~~~~~~~~~~~~

Expand All @@ -282,6 +284,8 @@ table. It will only create missing tables.
To print the SQL that would be run, rather than run it, use the
:option:`createcachetable --dry-run` option.

.. _database-caching-multiple-databases:

Multiple databases
~~~~~~~~~~~~~~~~~~

Expand Down Expand Up @@ -324,6 +328,8 @@ the cache backend will use the ``default`` database.
And if you don't use the database cache backend, you don't need to worry about
providing routing instructions for the database cache model.

.. _filesystem-caching:

Filesystem caching
------------------

Expand Down Expand Up @@ -411,6 +417,8 @@ cross-process caching is possible. This also means the local memory cache isn't
particularly memory-efficient, so it's probably not a good choice for
production environments. It's nice for development.

.. _dummy-caching:

Dummy caching (for development)
-------------------------------

Expand All @@ -428,6 +436,8 @@ activate dummy caching, set :setting:`BACKEND <CACHES-BACKEND>` like so::
}
}

.. _using-a-custom-cache-backend:

Using a custom cache backend
----------------------------

Expand Down

0 comments on commit 76a9f12

Please sign in to comment.