File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ PHP Array Cache Adapter
7
7
8
8
This adapter is a high performance cache for static data (e.g. application configuration)
9
9
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 ::
11
11
12
12
use Symfony\Component\Cache\Adapter\FilesystemAdapter;
13
13
use Symfony\Component\Cache\Adapter\PhpArrayAdapter;
@@ -23,7 +23,7 @@ is mostly read-only after warmup::
23
23
$cache = new PhpArrayAdapter(
24
24
// single file where values are cached
25
25
__DIR__ . '/somefile.cache',
26
- // a backup adapter, if you set values after warmup
26
+ // a backup adapter, if you set values after warm-up
27
27
new FilesystemAdapter()
28
28
);
29
29
$cache->warmUp($values);
Original file line number Diff line number Diff line change @@ -213,7 +213,7 @@ try to add data when no memory is available. An example setting could look as fo
213
213
maxmemory 100mb
214
214
maxmemory-policy allkeys-lru
215
215
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 `_.
217
217
218
218
.. _`Data Source Name (DSN)` : https://en.wikipedia.org/wiki/Data_source_name
219
219
.. _`Redis server` : https://redis.io/
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ Cache Invalidation
7
7
8
8
Cache invalidation is the process of removing all cached items related to a
9
9
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
11
11
several cached items, keeping them in sync can be difficult.
12
12
13
13
The Symfony Cache component provides two mechanisms to help solve this problem:
@@ -47,7 +47,7 @@ you can invalidate the cached items by calling
47
47
// if you know the cache key, you can also delete the item directly
48
48
$cache->delete('cache_key');
49
49
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.
51
51
52
52
Tag Aware Adapters
53
53
~~~~~~~~~~~~~~~~~~
You can’t perform that action at this time.
0 commit comments