Skip to content

Commit 76a9f12

Browse files
timgrahamfelixxm
authored andcommitted
[5.1.x] Added some heading labels to to docs/topics/cache.txt.
Backport of 6d1cf53 from main
1 parent 558c616 commit 76a9f12

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/topics/cache.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,8 @@ Unlike other cache backends, the database cache does not support automatic
256256
culling of expired entries at the database level. Instead, expired cache
257257
entries are culled each time ``add()``, ``set()``, or ``touch()`` is called.
258258

259+
.. _database-caching-creating-the-table:
260+
259261
Creating the cache table
260262
~~~~~~~~~~~~~~~~~~~~~~~~
261263

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

287+
.. _database-caching-multiple-databases:
288+
285289
Multiple databases
286290
~~~~~~~~~~~~~~~~~~
287291

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

331+
.. _filesystem-caching:
332+
327333
Filesystem caching
328334
------------------
329335

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

420+
.. _dummy-caching:
421+
414422
Dummy caching (for development)
415423
-------------------------------
416424

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

439+
.. _using-a-custom-cache-backend:
440+
431441
Using a custom cache backend
432442
----------------------------
433443

0 commit comments

Comments
 (0)