@@ -62,17 +62,17 @@ to projects and modules. This will replace the hard-coded value in a future rele
62
62
$file
63
63
=====
64
64
65
- This is an array of settings specific to the `` File `` handler to determine how it should save the cache files.
65
+ This is an array of settings specific to the ** File ** handler to determine how it should save the cache files.
66
66
67
67
$memcached
68
68
==========
69
69
70
- This is an array of servers that will be used when using the `` Memcache(d) `` handler.
70
+ This is an array of servers that will be used when using the ** Memcached ** handler.
71
71
72
72
$redis
73
73
======
74
74
75
- The settings for the Redis server that you wish to use when using the `` Redis `` and `` Predis `` handler.
75
+ The settings for the Redis server that you wish to use when using the ** Redis ** and ** Predis ** handler.
76
76
77
77
******************
78
78
Command-Line Tools
@@ -139,12 +139,11 @@ Class Reference
139
139
Gets an item from the cache. If ``null `` was returned, this will invoke the callback
140
140
and save the result. Either way, this will return the value.
141
141
142
- .. php :method :: save(string $key, $data[, int $ttl = 60[, $raw = false] ])
142
+ .. php :method :: save(string $key, $data[, int $ttl = 60])
143
143
144
144
:param string $key: Cache item name
145
145
:param mixed $data: the data to save
146
146
:param int $ttl: Time To Live, in seconds (default 60)
147
- :param bool $raw: Whether to store the raw value
148
147
:returns: ``true `` on success, ``false `` on failure
149
148
:rtype: bool
150
149
@@ -155,9 +154,6 @@ Class Reference
155
154
156
155
.. literalinclude :: caching/004.php
157
156
158
- .. note :: The ``$raw`` parameter is only utilized by Memcache,
159
- in order to allow usage of ``increment() `` and ``decrement() ``.
160
-
161
157
.. php :method :: delete($key): bool
162
158
163
159
:param string $key: name of cached item
@@ -280,11 +276,10 @@ Drivers
280
276
File-based Caching
281
277
==================
282
278
283
- Unlike caching from the Output Class, the driver file-based caching
284
- allows for pieces of view files to be cached. Use this with care, and
285
- make sure to benchmark your application, as a point can come where disk
286
- I/O will negate positive gains by caching. This requires a cache
287
- directory to be really writable by the application.
279
+ This requires a cache directory to be really writable by the application.
280
+
281
+ Use this with care, and make sure to benchmark your application, as a point can
282
+ come where disk I/O will negate positive gains by caching.
288
283
289
284
Memcached Caching
290
285
=================
0 commit comments