Skip to content

Commit c7035d3

Browse files
committed
fix spelling errors
1 parent 211899e commit c7035d3

File tree

4 files changed

+13
-9
lines changed

4 files changed

+13
-9
lines changed

Resources/doc/reference/annotations.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ See :doc:`/features/invalidation` for more information.
4949
``@InvalidateRoute``
5050
--------------------
5151

52-
Like InvalidatePath annotations, you can use php attributes instead if you are using PHP 8
52+
Like InvalidatePath annotations, you can use PHP attributes instead if you are using PHP 8
5353
Invalidate a route with parameters::
5454

5555
use FOS\HttpCacheBundle\Configuration\InvalidateRoute;
@@ -99,7 +99,7 @@ HTTP header (``X-Cache-Tags``, by default).
9999
Any non-safe request to the ``editAction`` that returns a successful response
100100
will trigger invalidation of both the ``news`` and the ``news-123`` tags.
101101

102-
Like InvalidatePath annotations, you can use php attributes instead if you are using PHP 8
102+
Like InvalidatePath annotations, you can use PHP attributes instead if you are using PHP 8
103103

104104
Set/invalidate a tag::
105105

Resources/doc/reference/configuration/proxy-client.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,13 +81,13 @@ inconsistent caches.
8181

8282
**type**: ``string``
8383

84-
Json encoded servers array as string. The servers array has the same specs as ``http.servers``.
84+
JSON encoded servers array as string. The servers array has the same specs as ``http.servers``.
8585

8686
Use this option only when using a variable amount of proxy servers that shall be defined via
8787
environment variable. Otherwise use the regular ``http.servers`` option.
8888

8989
Usage:
90-
* fos_http_cache.yaml: ``servers_from_jsonenv: '%env(json:VARNISH_SERVERS)%'``
90+
* ``fos_http_cache.yaml``: ``servers_from_jsonenv: '%env(json:VARNISH_SERVERS)%'``
9191
* environment definition: ``VARNISH_SERVERS='["123.123.123.1:6060","123.123.123.2"]'``
9292

9393

Resources/doc/reference/configuration/tags.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,11 @@ section of the tag configuration and ``@tag`` :ref:`annotations<tag>`.
6464
By default, the generated response header will not be split into multiple headers.
6565
This means that depending on the amount of tags generated in your application the
6666
value of that header might become pretty long. This again might cause issues with
67-
your webserver which usually come with a pre-defined maximum header value length and
68-
will throw an exception if you exceed this. Using this configuration key you can
67+
your web server, as it usually has a default maximum header length and will reject
68+
the request if the header exceeds this value. Using this configuration key, you can
6969
configure a maximum length **in bytes** which will split your value into multiple
70-
headers. Note that you might update your proxy configuration because it needs
71-
to be able to handle multiple headers instead of just one.
70+
headers. Note that you might have to update your proxy configuration because it
71+
needs to be able to handle multiple headers instead of just one.
7272

7373
.. code-block:: yaml
7474
@@ -79,7 +79,7 @@ to be able to handle multiple headers instead of just one.
7979
8080
.. note::
8181

82-
4096 bytes is generally a good choice because it seems like most webservers have
82+
4096 bytes is generally a good choice because it seems like most web servers have
8383
a maximum value of 4 KB configured.
8484

8585
``strict``

Resources/doc/spelling_word_list.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,18 @@ cacheable
88
ETag
99
friendsofsymfony
1010
github
11+
hardcoded
1112
hostname
1213
invalidations
1314
invalidator
1415
javascript
16+
JSON
1517
login
1618
logout
1719
lookup
1820
lookups
1921
matcher
22+
md
2023
mistyped
2124
multi
2225
nginx
@@ -31,5 +34,6 @@ symfony
3134
subdomains
3235
templating
3336
TTL
37+
vmod
3438
xkey
3539
yaml

0 commit comments

Comments
 (0)