Skip to content

Commit b636dc7

Browse files
committed
Correct spelling & grammar in 4.4 components/cache/
1 parent 62c0653 commit b636dc7

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

components/cache/adapters/php_array_cache_adapter.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ PHP Array Cache Adapter
77

88
This adapter is a high performance cache for static data (e.g. application configuration)
99
that is optimized and preloaded into OPcache memory storage. It is suited for any data that
10-
is mostly read-only after warmup::
10+
is mostly read-only after warm-up::
1111

1212
use Symfony\Component\Cache\Adapter\FilesystemAdapter;
1313
use Symfony\Component\Cache\Adapter\PhpArrayAdapter;
@@ -23,7 +23,7 @@ is mostly read-only after warmup::
2323
$cache = new PhpArrayAdapter(
2424
// single file where values are cached
2525
__DIR__ . '/somefile.cache',
26-
// a backup adapter, if you set values after warmup
26+
// a backup adapter, if you set values after warm-up
2727
new FilesystemAdapter()
2828
);
2929
$cache->warmUp($values);

components/cache/adapters/redis_adapter.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ try to add data when no memory is available. An example setting could look as fo
213213
maxmemory 100mb
214214
maxmemory-policy allkeys-lru
215215
216-
Read more about this topic in the offical `Redis LRU Cache Documentation`_.
216+
Read more about this topic in the official `Redis LRU Cache Documentation`_.
217217

218218
.. _`Data Source Name (DSN)`: https://en.wikipedia.org/wiki/Data_source_name
219219
.. _`Redis server`: https://redis.io/

components/cache/cache_invalidation.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Cache Invalidation
77

88
Cache invalidation is the process of removing all cached items related to a
99
change in the state of your model. The most basic kind of invalidation is direct
10-
items deletion. But when the state of a primary resource has spread across
10+
item deletion. But when the state of a primary resource has spread across
1111
several cached items, keeping them in sync can be difficult.
1212

1313
The Symfony Cache component provides two mechanisms to help solve this problem:
@@ -47,7 +47,7 @@ you can invalidate the cached items by calling
4747
// if you know the cache key, you can also delete the item directly
4848
$cache->delete('cache_key');
4949

50-
Using tags invalidation is very useful when tracking cache keys becomes difficult.
50+
Using tag invalidation is very useful when tracking cache keys becomes difficult.
5151

5252
Tag Aware Adapters
5353
~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)