Skip to content

Commit ecc32cc

Browse files
committed
docs: fix sub section level
1 parent ef6a516 commit ecc32cc

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

user_guide_src/source/libraries/caching.rst

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,51 +23,52 @@ You can grab an instance of the cache engine directly through the Services class
2323

2424
.. literalinclude:: caching/002.php
2525

26+
*********************
2627
Configuring the Cache
27-
=====================
28+
*********************
2829

2930
All configuration for the cache engine is done in **app/Config/Cache.php**. In that file,
3031
the following items are available.
3132

3233
$handler
33-
--------
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

3839
$backupHandler
39-
--------------
40+
==============
4041

4142
In the case that the first choice ``$handler`` is not available, this is the next cache handler to load.
4243
This is commonly the ``File`` handler since the file system is always available, but may not fit
4344
more complex, multi-server setups.
4445

4546
$prefix
46-
-------
47+
=======
4748

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

5152
$ttl
52-
----
53+
====
5354

5455
The default number of seconds to save items when none is specified.
5556

5657
WARNING: This is not used by framework handlers where 60 seconds is hard-coded, but may be useful
5758
to projects and modules. This will replace the hard-coded value in a future release.
5859

5960
$file
60-
-----
61+
=====
6162

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

6465
$memcached
65-
----------
66+
==========
6667

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

6970
$redis
70-
------
71+
======
7172

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

0 commit comments

Comments
 (0)