Skip to content

Commit ea9d453

Browse files
committed
fix(admin): add explicit labels to caching configuration headings
APCu, Redis, and Memcached h2 headings on the memory caching page were generating non-descriptive IDs (id1, id2, ...) instead of the expected anchors (apcu, redis, memcached). Adding explicit RST reference labels ensures stable, predictable fragment URLs. Also fix a double-space typo in the existing _install_redis_label directive that made it malformed RST. Fixes #6878 Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
1 parent e793142 commit ea9d453

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

admin_manual/configuration_server/caching_configuration.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ APCu is faster for local caching than Redis. If you have enough memory, use
111111
APCu for Memory Caching and Redis for File Locking. If you are low on memory,
112112
use Redis for both.
113113

114+
.. _apcu:
114115

115116
APCu
116117
----
@@ -143,6 +144,8 @@ increase the size. `APCu provides a script
143144
otherwise the `serverinfo app <https://github.com/nextcloud/serverinfo>`_ in
144145
Nextcloud can also show the APCu cache status.
145146

147+
.. _redis:
148+
146149
Redis
147150
-----
148151

@@ -341,8 +344,9 @@ prevent session corruption when using Redis as your session handler: ::
341344
More information on configuration of phpredis session handler can be found on the
342345
`PhpRedis GitHub page <https://github.com/phpredis/phpredis>`_
343346

344-
.. _install_redis_label:
347+
.. _install_redis_label:
345348

349+
.. _memcached:
346350

347351
Memcached
348352
---------

0 commit comments

Comments
 (0)