Skip to content

Commit 79942cb

Browse files
committed
feat: APCu caching driver: changelog, documentation
1 parent 4d6b6be commit 79942cb

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

user_guide_src/source/changelogs/v4.7.0.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,7 @@ Libraries
236236
- **Cache:** Added ``persistent`` config item to Redis handler.
237237
- **Cache:** Added support for HTTP status in ``ResponseCache``.
238238
- **Cache:** Added ``Config\Cache::$cacheStatusCodes`` to control which HTTP status codes are allowed to be cached by the ``PageCache`` filter. Defaults to ``[]`` (all status codes for backward compatibility). Recommended value: ``[200]`` to only cache successful responses. See :ref:`Setting $cacheStatusCodes <web_page_caching_cache_status_codes>` for details.
239+
- **Cache:** Added `APCu <https://www.php.net/apcu>`_ caching driver.
239240
- **CURLRequest:** Added ``shareConnection`` config item to change default share connection.
240241
- **CURLRequest:** Added ``dns_cache_timeout`` option to change default DNS cache timeout.
241242
- **CURLRequest:** Added ``fresh_connect`` options to enable/disable request fresh connection.

user_guide_src/source/libraries/caching.rst

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ $handler
3636
========
3737

3838
The is the name of the handler that should be used as the primary handler when starting up the engine.
39-
Available names are: dummy, file, memcached, redis, predis, wincache.
39+
Available names are: apcu, dummy, file, memcached, redis, predis, wincache.
4040

4141
$backupHandler
4242
==============
@@ -273,6 +273,13 @@ Class Reference
273273
Drivers
274274
*******
275275

276+
APCu Caching
277+
================
278+
279+
APCu is an in-memory key-value store for PHP.
280+
281+
To use it, you need `APCu PHP extension <https://www.php.net/apcu>`_.
282+
276283
File-based Caching
277284
==================
278285

0 commit comments

Comments
 (0)