File tree Expand file tree Collapse file tree 4 files changed +13
-9
lines changed Expand file tree Collapse file tree 4 files changed +13
-9
lines changed Original file line number Diff line number Diff 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
5353Invalidate a route with parameters::
5454
5555 use FOS\HttpCacheBundle\Configuration\InvalidateRoute;
@@ -99,7 +99,7 @@ HTTP header (``X-Cache-Tags``, by default).
9999Any non-safe request to the ``editAction `` that returns a successful response
100100will 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
104104Set/invalidate a tag::
105105
Original file line number Diff line number Diff 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
8686Use this option only when using a variable amount of proxy servers that shall be defined via
8787environment variable. Otherwise use the regular ``http.servers `` option.
8888
8989Usage:
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
Original file line number Diff line number Diff line change @@ -64,11 +64,11 @@ section of the tag configuration and ``@tag`` :ref:`annotations<tag>`.
6464By default, the generated response header will not be split into multiple headers.
6565This means that depending on the amount of tags generated in your application the
6666value 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
6969configure 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 ``
Original file line number Diff line number Diff line change @@ -8,15 +8,18 @@ cacheable
88ETag
99friendsofsymfony
1010github
11+ hardcoded
1112hostname
1213invalidations
1314invalidator
1415javascript
16+ JSON
1517login
1618logout
1719lookup
1820lookups
1921matcher
22+ md
2023mistyped
2124multi
2225nginx
@@ -31,5 +34,6 @@ symfony
3134subdomains
3235templating
3336TTL
37+ vmod
3438xkey
3539yaml
You can’t perform that action at this time.
0 commit comments