Skip to content

Commit 71e656f

Browse files
committed
Merge branch '4.4' into 5.2
* 4.4: Minor tweaks Adds a heading for stampede prevention so I'm able to reference this section easily Update routing.rst
2 parents 7cc8d2a + 07b09f4 commit 71e656f

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

components/cache.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,10 @@ generate and return the value::
9090
Use cache tags to delete more than one key at the time. Read more at
9191
:doc:`/components/cache/cache_invalidation`.
9292

93-
The Cache Contracts also comes with built in `Stampede prevention`_. This will
93+
Stampede Prevention
94+
~~~~~~~~~~~~~~~~~~~
95+
96+
The Cache Contracts also come with built in `Stampede prevention`_. This will
9497
remove CPU spikes at the moments when the cache is cold. If an example application
9598
spends 5 seconds to compute data that is cached for 1 hour and this data is accessed
9699
10 times every second, this means that you mostly have cache hits and everything

routing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2431,7 +2431,7 @@ use the ``generateUrl()`` helper::
24312431

24322432
While objects are converted to string when used as placeholders, they are not
24332433
converted when used as extra parameters. So, if you're passing an object (e.g. an Uuid)
2434-
as value of an extra parameter, you need to explictly convert it to a string::
2434+
as value of an extra parameter, you need to explicitly convert it to a string::
24352435

24362436
$this->generateUrl('blog', ['uuid' => (string) $entity->getUuid()]);
24372437

0 commit comments

Comments
 (0)