Skip to content

Commit c3d1e43

Browse files
committed
Grammatical errors in http_cache
1 parent da50fca commit c3d1e43

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

book/http_cache.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ Along the way, the cache will store each response that is deemed "cacheable"
8484
the cache sends the cached response to the client, ignoring your application
8585
entirely.
8686

87-
This type of cache is knows as an HTTP gateway cache and many exist such
87+
This type of cache is known as a HTTP gateway cache and many exist such
8888
as `Varnish`_, `Squid in reverse proxy mode`_, and the Symfony2 reverse proxy.
8989

9090
.. index::
@@ -140,7 +140,7 @@ application comes with a pre-configured caching kernel (``AppCache``) that
140140
wraps the default one (``AppKernel``). The caching Kernel *is* the reverse
141141
proxy.
142142

143-
To enabling caching, modify the code of a front controller to use the caching
143+
To enable caching, modify the code of a front controller to use the caching
144144
kernel::
145145

146146
// web/app.php
@@ -636,7 +636,7 @@ exposing a simple and efficient pattern::
636636
{
637637
// Get the minimum information to compute
638638
// the ETag or the Last-Modified value
639-
// (based on the Request, data are retrieved from
639+
// (based on the Request, data is retrieved from
640640
// a database or a key-value store for instance)
641641
$article = // ...
642642

@@ -717,7 +717,7 @@ Expiration and Validation
717717
You can of course use both validation and expiration within the same ``Response``.
718718
As expiration wins over validation, you can easily benefit from the best of
719719
both worlds. In other words, by using both expiration and validation, you
720-
can instruct the cache to server the cached content, while checking back
720+
can instruct the cache to serve the cached content, while checking back
721721
at some interval (the expiration) to verify that the content is still valid.
722722

723723
.. index::

0 commit comments

Comments
 (0)