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
77
88This adapter is a high performance cache for static data (e.g. application configuration)
99that 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);
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
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/
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ Cache Invalidation
77
88Cache invalidation is the process of removing all cached items related to a
99change 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
1111several cached items, keeping them in sync can be difficult.
1212
1313The 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
5252Tag Aware Adapters
5353~~~~~~~~~~~~~~~~~~
You can’t perform that action at this time.
0 commit comments