Skip to content

Commit 494d7f6

Browse files
committed
docs: make section title linkable
1 parent fe82ed1 commit 494d7f6

1 file changed

Lines changed: 14 additions & 7 deletions

File tree

user_guide_src/source/libraries/caching.rst

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,37 +30,44 @@ Configuring the Cache
3030
All configuration for the cache engine is done in **app/Config/Cache.php**. In that file,
3131
the following items are available.
3232

33-
**$handler**
33+
$handler
34+
--------
3435

3536
The is the name of the handler that should be used as the primary handler when starting up the engine.
3637
Available names are: dummy, file, memcached, redis, predis, wincache.
3738

38-
**$backupHandler**
39+
$backupHandler
40+
--------------
3941

4042
In the case that the first choice $handler is not available, this is the next cache handler to load.
4143
This is commonly the **file** handler since the file system is always available, but may not fit
4244
more complex, multi-server setups.
4345

44-
**$prefix**
46+
$prefix
47+
-------
4548

4649
If you have more than one application using the same cache storage, you can add a custom prefix
4750
string here that is prepended to all key names.
4851

49-
**$ttl**
52+
$ttl
53+
----
5054

5155
The default number of seconds to save items when none is specified.
5256
WARNING: This is not used by framework handlers where 60 seconds is hard-coded, but may be useful
5357
to projects and modules. This will replace the hard-coded value in a future release.
5458

55-
**$file**
59+
$file
60+
-----
5661

5762
This is an array of settings specific to the ``File`` handler to determine how it should save the cache files.
5863

59-
**$memcached**
64+
$memcached
65+
----------
6066

6167
This is an array of servers that will be used when using the ``Memcache(d)`` handler.
6268

63-
**$redis**
69+
$redis
70+
------
6471

6572
The settings for the Redis server that you wish to use when using the ``Redis`` and ``Predis`` handler.
6673

0 commit comments

Comments
 (0)