Skip to content

Commit d8d881d

Browse files
[Cache] minor tweaks
1 parent 55017bf commit d8d881d

File tree

4 files changed

+9
-8
lines changed

4 files changed

+9
-8
lines changed

components/cache.rst

+4-3
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@ The Cache Component
1010

1111
The Cache component provides an extended `PSR-6`_ implementation as well as
1212
a `PSR-16`_ "Simple Cache" implementation for adding cache to your applications.
13-
It is designed to have a low overhead and it ships with ready to use adapters
14-
for the most common caching backends.
13+
It is designed for performance and resiliency, and ships with ready to use
14+
adapters for the most common caching backends, including proxies for adapting
15+
from/to `Doctrine Cache`_.
1516

1617
.. versionadded:: 3.3
1718
The PSR-16 "Simple Cache" implementation was introduced in Symfony 3.3.
@@ -192,4 +193,4 @@ Advanced Usage (PSR-6)
192193

193194
.. _`PSR-6`: http://www.php-fig.org/psr/psr-6/
194195
.. _`PSR-16`: http://www.php-fig.org/psr/psr-16/
195-
.. _Packagist: https://packagist.org/packages/symfony/cache
196+
.. _Doctrine Cache: https://www.doctrine-project.org/projects/cache.html

components/cache/adapters/pdo_doctrine_dbal_adapter.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ third, and forth parameters::
3131
// until the database table is truncated or its rows are otherwise deleted)
3232
$defaultLifetime = 0,
3333

34-
// an array of options for configuring the database connection
34+
// an array of options for configuring the database table and connection
3535
$options = array()
3636
);
3737

components/cache/cache_invalidation.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ several cached items, keeping them in sync can be difficult.
1212

1313
The Symfony Cache component provides two mechanisms to help solving this problem:
1414

15-
* :ref:`Tags based invalidation <cache-component-tags>` for managing data dependencies;
15+
* :ref:`Tags-based invalidation <cache-component-tags>` for managing data dependencies;
1616
* :ref:`Expiration based invalidation <cache-component-expiration>` for time related dependencies.
1717

1818
.. _cache-component-tags:
@@ -21,9 +21,9 @@ Using Cache Tags
2121
----------------
2222

2323
.. versionadded:: 3.2
24-
Tags based invalidation was introduced in Symfony 3.2.
24+
Tags-based invalidation was introduced in Symfony 3.2.
2525

26-
To benefit from tags based invalidation, you need to attach the proper tags to
26+
To benefit from tags-based invalidation, you need to attach the proper tags to
2727
each cached item. Each tag is a plain string identifier that you can use at any
2828
time to trigger the removal of all items associated with this tag.
2929

components/cache/cache_pools.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ allowing manual removal of stale cache items::
179179

180180
The :ref:`ChainAdapter <component-cache-chain-adapter>` implementation does not directly
181181
contain any pruning logic itself. Instead, when calling the chain adapter's
182-
:method:`Symfony\\Component\\Cache\\ChainAdapter::prune` method, the call is delegated to all
182+
:method:`Symfony\\Component\\Cache\\Adapter\\ChainAdapter::prune` method, the call is delegated to all
183183
its compatible cache adapters (and those that do not implement ``PruneableInterface`` are
184184
silently ignored)::
185185

0 commit comments

Comments
 (0)